public class XContentTypeOptionsHeader extends Object implements Authorizer<CommonProfile>
Constructor and Description |
---|
XContentTypeOptionsHeader() |
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 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 © 2018. All rights reserved.