Modifier and Type | Class and Description |
---|---|
class |
RequireAllPermissionsAuthorizer<U extends UserProfile>
Checks an access if the user profile has all the permissions.
|
class |
RequireAllRolesAuthorizer<U extends UserProfile>
Checks an access if the user profile has all the roles.
|
class |
RequireAnyPermissionAuthorizer<U extends UserProfile>
Checks an access if the user profile has any of the permissions.
|
class |
RequireAnyRoleAuthorizer<U extends UserProfile>
Checks an access if the user profile has any of the roles.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultAuthorizationChecker.isAuthorized(WebContext context,
UserProfile profile,
List<Authorizer> authorizers) |
boolean |
AuthorizationChecker.isAuthorized(WebContext context,
UserProfile profile,
List<Authorizer> authorizers) |
boolean |
DefaultAuthorizationChecker.isAuthorized(WebContext context,
UserProfile profile,
String authorizerName,
Map<String,Authorizer> authorizersMap) |
boolean |
AuthorizationChecker.isAuthorized(WebContext context,
UserProfile profile,
String authorizerName,
Map<String,Authorizer> authorizersMap) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRequireAllAuthorizer<E,U extends UserProfile>
An authorizer to require all the elements.
|
class |
AbstractRequireAnyAuthorizer<E,U extends UserProfile>
An authorizer to require any of the elements.
|
class |
AbstractRequireElementAuthorizer<E,U extends UserProfile>
An authorizer to require elements.
|
class |
CacheControlHeader
Cache control header.
|
class |
CheckHttpMethodAuthorizer<U extends UserProfile>
Checks the HTTP method.
|
class |
CheckProfileTypeAuthorizer<U extends UserProfile>
Checks the profile type.
|
class |
CustomSecurityHeader
Add a custom security header.
|
class |
StrictTransportSecurityHeader
Strict transport security header.
|
class |
XContentTypeOptionsHeader
XContent type options header.
|
class |
XFrameOptionsHeader
XFrame options header.
|
class |
XSSProtectionHeader
XSS protection header.
|
Modifier and Type | Class and Description |
---|---|
class |
CsrfAuthorizer<U extends UserProfile>
Authorizer that checks CSRF tokens.
|
class |
CsrfTokenGeneratorAuthorizer
Authorizer which creates a new CSRF token and adds it as a request attribute and as a cookie (AngularJS).
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Authorizer> |
Config.authorizers |
Modifier and Type | Method and Description |
---|---|
Map<String,Authorizer> |
Config.getAuthorizers() |
Modifier and Type | Method and Description |
---|---|
void |
Config.addAuthorizer(String name,
Authorizer authorizer) |
void |
Config.setAuthorizer(Authorizer authorizer) |
Modifier and Type | Method and Description |
---|---|
void |
Config.setAuthorizers(Map<String,Authorizer> authorizers) |
Constructor and Description |
---|
Config(Client client,
Map<String,Authorizer> authorizers) |
Config(Clients clients,
Map<String,Authorizer> authorizers) |
Config(Map<String,Authorizer> authorizers) |
Config(Map<String,Authorizer> authorizers,
Client... clients) |
Config(String callbackUrl,
Client client,
Map<String,Authorizer> authorizers) |
Config(String callbackUrl,
Map<String,Authorizer> authorizers,
Client... clients) |
Modifier and Type | Class and Description |
---|---|
class |
IpRegexpAuthorizer
Authorizes users based on their IP and a regexp pattern.
|
Copyright © 2016. All rights reserved.