Interface Authorizer<U extends UserProfile>
-
- All Known Implementing Classes:
AbstractCheckAuthenticationAuthorizer
,AbstractRequireAllAuthorizer
,AbstractRequireAnyAuthorizer
,AbstractRequireElementAuthorizer
,AndAuthorizer
,CheckHttpMethodAuthorizer
,CheckProfileTypeAuthorizer
,CsrfAuthorizer
,IsAnonymousAuthorizer
,IsAuthenticatedAuthorizer
,IsFullyAuthenticatedAuthorizer
,IsRememberedAuthorizer
,OrAuthorizer
,ProfileAuthorizer
,RequireAllPermissionsAuthorizer
,RequireAllRolesAuthorizer
,RequireAnyAttributeAuthorizer
,RequireAnyPermissionAuthorizer
,RequireAnyRoleAuthorizer
public interface Authorizer<U extends UserProfile>
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, List<U> profiles)
Checks if the user profiles and / or the current web context are authorized.
-
-
-
Method Detail
-
isAuthorized
boolean isAuthorized(WebContext context, List<U> profiles)
Checks if the user profiles and / or the current web context are authorized.- Parameters:
context
- the web contextprofiles
- the user profiles- Returns:
- if the access is authorized
-
-