cmr.opendap.app.middleware
Custom ring middleware for CMR OPeNDAP.
reitit-auth
(reitit-auth system)Documentation forthcoming
wrap-api-version-dispatch
(wrap-api-version-dispatch site-routes system opts)wrap-auth
(wrap-auth handler system)Ring-based middleware for supporting the protection of routes using the CMR Access Control service and CMR Legacy ECHO support.
In particular, this wrapper allows for the protection of routes by both roles as well as concept-specific permissions. This is done by annotating the routes per the means described in the reitit library’s documentation.
wrap-base-url-subs
(wrap-base-url-subs handler system)Documentation forthcoming
wrap-cors
(wrap-cors handler)Ring-based middleware for supporting CORS requests.
wrap-directory-resource
(wrap-directory-resource handler system)(wrap-directory-resource handler system content-type)Documentation forthcoming
wrap-fallback-content-type
(wrap-fallback-content-type handler default-content-type)Documentation forthcoming
wrap-not-found
(wrap-not-found handler system)Documentation forthcoming
wrap-resource
(wrap-resource handler system)Documentation forthcoming
wrap-trailing-slash
(wrap-trailing-slash handler)Ring-based middleware forremoving a single trailing slash from the end of the URI, if present.