Class RestAuthenticationFilter
java.lang.Object
com.svenruppert.jsentinel.rest.RestAuthenticationFilter
Authenticated-only REST filter for endpoints that require any subject but
no specific permission.
Returns 401 with body Unauthorized when no subject is
resolved or when the resolved session has exceeded its idle / absolute
lifetime per the configured SessionPolicy; delegates to the
handler otherwise. Generic and side-effect-free.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrequireAuthenticated(RestRequest request, RestResponse response, RestHandler handler)
-
Constructor Details
-
RestAuthenticationFilter
-
-
Method Details
-
requireAuthenticated
-