public class CsrfTokenGeneratorAuthorizer extends Object implements Authorizer<UserProfile>
Constructor and Description |
---|
CsrfTokenGeneratorAuthorizer(CsrfTokenGenerator csrfTokenGenerator) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAuthorized(WebContext context,
UserProfile profile)
Checks if the user profile is authorized for the current web context.
|
public CsrfTokenGeneratorAuthorizer(CsrfTokenGenerator csrfTokenGenerator)
public boolean isAuthorized(WebContext context, UserProfile profile)
Authorizer
isAuthorized
in interface Authorizer<UserProfile>
context
- the web contextprofile
- the user profileCopyright © 2016. All rights reserved.