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 route-data system)(wrap-api-version-dispatch site-routes {:keys [main-api-routes-fn plugins-api-routes-fns]} 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.