| Modifier and Type | Field and Description | 
|---|---|
static List<ResourceAction> | 
CoordinatorBasicAuthorizerMetadataStorageUpdater.SUPERUSER_PERMISSIONS  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
CoordinatorBasicAuthorizerMetadataStorageUpdater.setPermissions(String prefix,
              String roleName,
              List<ResourceAction> permissions)  | 
void | 
BasicAuthorizerMetadataStorageUpdater.setPermissions(String prefix,
              String roleName,
              List<ResourceAction> permissions)  | 
| Modifier and Type | Method and Description | 
|---|---|
javax.ws.rs.core.Response | 
BasicAuthorizerResource.setRolePermissions(javax.servlet.http.HttpServletRequest req,
                  String authorizerName,
                  String roleName,
                  List<ResourceAction> permissions)
Set the permissions of a role. 
 | 
javax.ws.rs.core.Response | 
DefaultBasicAuthorizerResourceHandler.setRolePermissions(String authorizerName,
                  String roleName,
                  List<ResourceAction> permissions)  | 
javax.ws.rs.core.Response | 
CoordinatorBasicAuthorizerResourceHandler.setRolePermissions(String authorizerName,
                  String roleName,
                  List<ResourceAction> permissions)  | 
javax.ws.rs.core.Response | 
BasicAuthorizerResourceHandler.setRolePermissions(String authorizerName,
                  String roleName,
                  List<ResourceAction> permissions)  | 
| Modifier and Type | Method and Description | 
|---|---|
ResourceAction | 
BasicAuthorizerPermission.getResourceAction()  | 
| Modifier and Type | Method and Description | 
|---|---|
static List<BasicAuthorizerPermission> | 
BasicAuthorizerPermission.makePermissionList(List<ResourceAction> resourceActions)  | 
| Constructor and Description | 
|---|
BasicAuthorizerPermission(ResourceAction resourceAction)  | 
BasicAuthorizerPermission(ResourceAction resourceAction,
                         Pattern resourceNamePattern)  | 
| Modifier and Type | Field and Description | 
|---|---|
static com.google.common.base.Function<String,ResourceAction> | 
AuthorizationUtils.DATASOURCE_READ_RA_GENERATOR
Function for the common pattern of generating a resource-action for reading from a datasource, using the
 datasource name. 
 | 
static com.google.common.base.Function<String,ResourceAction> | 
AuthorizationUtils.DATASOURCE_WRITE_RA_GENERATOR
Function for the common pattern of generating a resource-action for reading from a datasource, using the
 datasource name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Access | 
AuthorizationUtils.authorizeResourceAction(javax.servlet.http.HttpServletRequest request,
                       ResourceAction resourceAction,
                       AuthorizerMapper authorizerMapper)
Check a resource-action using the authorization fields from the request. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Access | 
AuthorizationUtils.authorizeAllResourceActions(AuthenticationResult authenticationResult,
                           Iterable<ResourceAction> resourceActions,
                           AuthorizerMapper authorizerMapper)
Check a list of resource-actions to be performed by the identity represented by authenticationResult. 
 | 
static Access | 
AuthorizationUtils.authorizeAllResourceActions(javax.servlet.http.HttpServletRequest request,
                           Iterable<ResourceAction> resourceActions,
                           AuthorizerMapper authorizerMapper)
Check a list of resource-actions to be performed as a result of an HTTP request. 
 | 
static <ResType> Iterable<ResType> | 
AuthorizationUtils.filterAuthorizedResources(AuthenticationResult authenticationResult,
                         Iterable<ResType> resources,
                         com.google.common.base.Function<? super ResType,Iterable<ResourceAction>> resourceActionGenerator,
                         AuthorizerMapper authorizerMapper)
Filter a collection of resources by applying the resourceActionGenerator to each resource, return an iterable
 containing the filtered resources. 
 | 
static <ResType> Iterable<ResType> | 
AuthorizationUtils.filterAuthorizedResources(javax.servlet.http.HttpServletRequest request,
                         Iterable<ResType> resources,
                         com.google.common.base.Function<? super ResType,Iterable<ResourceAction>> resourceActionGenerator,
                         AuthorizerMapper authorizerMapper)
Filter a collection of resources by applying the resourceActionGenerator to each resource, return an iterable
 containing the filtered resources. 
 | 
Copyright © 2011–2018. All rights reserved.