Class XContentTypeOptionsHeader
- java.lang.Object
-
- org.pac4j.core.authorization.authorizer.XContentTypeOptionsHeader
-
- All Implemented Interfaces:
Authorizer<UserProfile>
public class XContentTypeOptionsHeader extends Object implements Authorizer<UserProfile>
XContent type options header.- Since:
- 1.8.1
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description XContentTypeOptionsHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAuthorized(WebContext context, List<UserProfile> profiles)
Checks if the user profiles and / or the current web context are authorized.
-
-
-
Method Detail
-
isAuthorized
public boolean isAuthorized(WebContext context, List<UserProfile> profiles)
Description copied from interface:Authorizer
Checks if the user profiles and / or the current web context are authorized.- Specified by:
isAuthorized
in interfaceAuthorizer<UserProfile>
- Parameters:
context
- the web contextprofiles
- the user profiles- Returns:
- if the access is authorized
-
-