public class IsFullyAuthenticatedAuthorizer<U extends CommonProfile> extends AbstractCheckAuthenticationAuthorizer<U>
Constructor and Description |
---|
IsFullyAuthenticatedAuthorizer() |
IsFullyAuthenticatedAuthorizer(String redirectionUrl) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAuthorized(WebContext context,
List<U> profiles)
Checks if the user profiles and / or the current web context are authorized.
|
boolean |
isProfileAuthorized(WebContext context,
U profile)
Whether a specific profile is authorized.
|
getRedirectionUrl, handleError, setRedirectionUrl
isAllAuthorized, isAnyAuthorized
public IsFullyAuthenticatedAuthorizer()
public IsFullyAuthenticatedAuthorizer(String redirectionUrl)
public boolean isAuthorized(WebContext context, List<U> profiles)
Authorizer
context
- the web contextprofiles
- the user profilespublic boolean isProfileAuthorized(WebContext context, U profile)
ProfileAuthorizer
isProfileAuthorized
in class ProfileAuthorizer<U extends CommonProfile>
context
- the web contextprofile
- the user profileCopyright © 2018. All rights reserved.