public class IsRememberedAuthorizer<U extends CommonProfile> extends AbstractCheckAuthenticationAuthorizer<U>
Constructor and Description |
---|
IsRememberedAuthorizer() |
IsRememberedAuthorizer(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.
|
static <U extends CommonProfile> |
isRemembered() |
getRedirectionUrl, handleError, setRedirectionUrl
isAllAuthorized, isAnyAuthorized
public IsRememberedAuthorizer()
public IsRememberedAuthorizer(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 profilepublic static <U extends CommonProfile> IsRememberedAuthorizer<U> isRemembered()
Copyright © 2019. All rights reserved.