public class IsAuthenticatedAuthorizer<U extends CommonProfile> extends AbstractCheckAuthenticationAuthorizer<U>
AnonymousClient.| Constructor and Description |
|---|
IsAuthenticatedAuthorizer() |
IsAuthenticatedAuthorizer(java.lang.String redirectionUrl) |
| Modifier and Type | Method and Description |
|---|---|
static <U extends CommonProfile> |
isAuthenticated() |
boolean |
isAuthorized(WebContext context,
java.util.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, setRedirectionUrlisAllAuthorized, isAnyAuthorizedpublic IsAuthenticatedAuthorizer()
public IsAuthenticatedAuthorizer(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> IsAuthenticatedAuthorizer<U> isAuthenticated()
Copyright © 2019. All Rights Reserved.