public class IsRememberedAuthorizer<U extends CommonProfile> extends AbstractCheckAuthenticationAuthorizer<U>
| Constructor and Description |
|---|
IsRememberedAuthorizer() |
IsRememberedAuthorizer(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.
|
boolean |
isProfileAuthorized(WebContext context,
U profile)
Whether a specific profile is authorized.
|
static <U extends CommonProfile> |
isRemembered() |
getRedirectionUrl, handleError, setRedirectionUrlisAllAuthorized, isAnyAuthorizedpublic IsRememberedAuthorizer()
public IsRememberedAuthorizer(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> IsRememberedAuthorizer<U> isRemembered()
Copyright © 2019. All Rights Reserved.