Package | Description |
---|---|
org.pac4j.core.authorization | |
org.pac4j.core.config |
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 | 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) |
Modifier and Type | Method and Description |
---|---|
void |
Config.setAuthorizers(Map<String,Authorizer> authorizers) |
Constructor and Description |
---|
Config(Clients clients,
Map<String,Authorizer> authorizers) |
Config(Map<String,Authorizer> authorizers) |
Copyright © 2015. All Rights Reserved.