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.
Checks if an access is authorized.
- Since:
- 1.8.0
- Author:
- Jerome Leleu
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAuthorized
(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) Checks if the user profiles and / or the current web context are authorized.
-
Method Details
-
isAuthorized
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
-