Interface Authorizer
-
- All Known Implementing Classes:
AbstractCheckAuthenticationAuthorizer
,AbstractRequireAllAuthorizer
,AbstractRequireAnyAuthorizer
,AbstractRequireElementAuthorizer
,AndAuthorizer
,CheckHttpMethodAuthorizer
,CheckProfileTypeAuthorizer
,CsrfAuthorizer
,IsAnonymousAuthorizer
,IsAuthenticatedAuthorizer
,IsFullyAuthenticatedAuthorizer
,IsRememberedAuthorizer
,OrAuthorizer
,ProfileAuthorizer
,RequireAllPermissionsAuthorizer
,RequireAllRolesAuthorizer
,RequireAnyAttributeAuthorizer
,RequireAnyPermissionAuthorizer
,RequireAnyRoleAuthorizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Authorizer
Checks if an access is authorized.- Since:
- 1.8.0
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAuthorized(WebContext context, SessionStore sessionStore, java.util.List<UserProfile> profiles)
Checks if the user profiles and / or the current web context are authorized.
-
-
-
Method Detail
-
isAuthorized
boolean isAuthorized(WebContext context, SessionStore sessionStore, java.util.List<UserProfile> profiles)
Checks if the user profiles and / or the current web context are authorized.- Parameters:
context
- the web contextsessionStore
- the session storeprofiles
- the user profiles- Returns:
- if the access is authorized
-
-