public class CustomSecurityHeader extends Object implements Authorizer<UserProfile>
| Constructor and Description |
|---|
CustomSecurityHeader(String name,
String value) |
| 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 boolean isAuthorized(WebContext context, UserProfile profile)
AuthorizerisAuthorized in interface Authorizer<UserProfile>context - the web contextprofile - the user profileCopyright © 2016. All Rights Reserved.