public class CsrfTokenGeneratorAuthorizer extends Object implements Authorizer<CommonProfile>
Constructor and Description |
---|
CsrfTokenGeneratorAuthorizer(CsrfTokenGenerator csrfTokenGenerator) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAuthorized(WebContext context,
List<CommonProfile> profiles)
Checks if the user profiles and / or the current web context are authorized.
|
public CsrfTokenGeneratorAuthorizer(CsrfTokenGenerator csrfTokenGenerator)
public boolean isAuthorized(WebContext context, List<CommonProfile> profiles) throws HttpAction
Authorizer
isAuthorized
in interface Authorizer<CommonProfile>
context
- the web contextprofiles
- the user profilesHttpAction
- whether an additional HTTP action is requiredCopyright © 2016. All rights reserved.