Uses of Class
org.apache.druid.server.security.ResourceAction
Packages that use ResourceAction
Package
Description
-
Uses of ResourceAction in org.apache.druid.client.indexing
Methods in org.apache.druid.client.indexing that return types with arguments of type ResourceActionModifier and TypeMethodDescriptiondefault Set<ResourceAction>SamplerSpec.getInputSourceResources() -
Uses of ResourceAction in org.apache.druid.indexing.overlord.supervisor
Methods in org.apache.druid.indexing.overlord.supervisor that return types with arguments of type ResourceActionModifier and TypeMethodDescriptionNoopSupervisorSpec.getInputSourceResources()default Set<ResourceAction>SupervisorSpec.getInputSourceResources() -
Uses of ResourceAction in org.apache.druid.server.security
Fields in org.apache.druid.server.security with type parameters of type ResourceActionModifier and TypeFieldDescriptionstatic final com.google.common.base.Function<String,ResourceAction> AuthorizationUtils.DATASOURCE_READ_RA_GENERATORFunction for the common pattern of generating a resource-action for reading from a datasource, using the datasource name.static final com.google.common.base.Function<String,ResourceAction> AuthorizationUtils.DATASOURCE_WRITE_RA_GENERATORFunction for the common pattern of generating a resource-action for reading from a datasource, using the datasource name.Methods in org.apache.druid.server.security that return ResourceActionModifier and TypeMethodDescriptionstatic ResourceActionAuthorizationUtils.createExternalResourceReadAction(String resourceName) Methods in org.apache.druid.server.security that return types with arguments of type ResourceActionModifier and TypeMethodDescriptionstatic List<ResourceAction>AuthorizationUtils.makeSuperUserPermissions()This method constructs a 'superuser' set of permissions composed ofAction.READandAction.WRITEpermissions for all knownResourceType.knownTypes()for anyAuthorizerimplementation which is built on pattern matching with a regex.Methods in org.apache.druid.server.security with parameters of type ResourceActionModifier and TypeMethodDescriptionstatic AuthorizationResultAuthorizationUtils.authorizeResourceAction(javax.servlet.http.HttpServletRequest request, ResourceAction resourceAction, AuthorizerMapper authorizerMapper) Performs authorization check on a single resource-action based on the authentication fields from the request.Method parameters in org.apache.druid.server.security with type arguments of type ResourceActionModifier and TypeMethodDescriptionstatic AuthorizationResultAuthorizationUtils.authorizeAllResourceActions(javax.servlet.http.HttpServletRequest request, Iterable<ResourceAction> resourceActions, AuthorizerMapper authorizerMapper) Performs authorization check on a list of resource-actions based on the authentication fields from the request.static AuthorizationResultAuthorizationUtils.authorizeAllResourceActions(AuthenticationResult authenticationResult, Iterable<ResourceAction> resourceActions, AuthorizerMapper authorizerMapper) Performs authorization check on a list of resource-actions based on the authenticationResult.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) Return an iterable of authorized resources, by filtering the input resources with authorization checks based on the authentication fields from the request.AuthorizationUtils.filterAuthorizedResources(javax.servlet.http.HttpServletRequest request, Map<KeyType, List<ResType>> unfilteredResources, com.google.common.base.Function<? super ResType, Iterable<ResourceAction>> resourceActionGenerator, AuthorizerMapper authorizerMapper) Return a map of authorized resources, by filtering the input resources with authorization checks based on the authentication fields from the request.static <ResType> Iterable<ResType>AuthorizationUtils.filterAuthorizedResources(AuthenticationResult authenticationResult, Iterable<ResType> resources, com.google.common.base.Function<? super ResType, Iterable<ResourceAction>> resourceActionGenerator, AuthorizerMapper authorizerMapper) Return an iterable of authorized resources, by filtering the input resources with authorization checks based on authenticationResult.