public class IsFullyAuthenticatedAuthorizer<U extends CommonProfile> extends AbstractCheckAuthenticationAuthorizer<U>
| Constructor and Description |
|---|
IsFullyAuthenticatedAuthorizer() |
IsFullyAuthenticatedAuthorizer(java.lang.String redirectionUrl) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthorized(WebContext context,
java.util.List<U> profiles)
Checks if the user profiles and / or the current web context are authorized.
|
static <U extends CommonProfile> |
isFullyAuthenticated() |
boolean |
isProfileAuthorized(WebContext context,
U profile)
Whether a specific profile is authorized.
|
getRedirectionUrl, handleError, setRedirectionUrlisAllAuthorized, isAnyAuthorizedpublic IsFullyAuthenticatedAuthorizer()
public IsFullyAuthenticatedAuthorizer(java.lang.String redirectionUrl)
public boolean isAuthorized(WebContext context, java.util.List<U> profiles)
Authorizercontext - the web contextprofiles - the user profilespublic boolean isProfileAuthorized(WebContext context, U profile)
ProfileAuthorizerisProfileAuthorized in class ProfileAuthorizer<U extends CommonProfile>context - the web contextprofile - the user profilepublic static <U extends CommonProfile> IsFullyAuthenticatedAuthorizer<U> isFullyAuthenticated()
Copyright © 2019. All Rights Reserved.