Uses of Class
org.apache.druid.server.security.AuthorizerMapper
Packages that use AuthorizerMapper
Package
Description
-
Uses of AuthorizerMapper in org.apache.druid.segment.realtime
Methods in org.apache.druid.segment.realtime with parameters of type AuthorizerMapperModifier and TypeMethodDescriptionstatic AuthorizationResultChatHandlers.authorizationCheck(javax.servlet.http.HttpServletRequest req, Action action, String dataSource, AuthorizerMapper authorizerMapper) Check authorization for the given action and dataSource. -
Uses of AuthorizerMapper in org.apache.druid.server
Fields in org.apache.druid.server declared as AuthorizerMapperConstructors in org.apache.druid.server with parameters of type AuthorizerMapperModifierConstructorDescriptionAsyncManagementForwardingServlet(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.google.inject.Provider<org.eclipse.jetty.client.HttpClient> httpClientProvider, DruidHttpClientConfig httpClientConfig, DruidLeaderSelector coordLeaderSelector, DruidLeaderSelector overlordLeaderSelector, AuthorizerMapper authorizerMapper) BrokerQueryResource(QueryLifecycleFactory queryLifecycleFactory, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, QueryScheduler queryScheduler, AuthorizerMapper authorizerMapper, QueryResourceQueryResultPusherFactory queryResultPusherFactory, ResourceIOReaderWriterFactory resourceIOReaderWriterFactory, TimelineServerView brokerServerView) ClientInfoResource(FilteredServerInventoryView serverInventoryView, TimelineServerView timelineServerView, SegmentMetadataQueryConfig segmentMetadataQueryConfig, AuthConfig authConfig, AuthorizerMapper authorizerMapper) QueryLifecycle(QueryRunnerFactoryConglomerate conglomerate, QuerySegmentWalker texasRanger, GenericQueryMetricsFactory queryMetricsFactory, ServiceEmitter emitter, RequestLogger requestLogger, AuthorizerMapper authorizerMapper, DefaultQueryConfig defaultQueryConfig, AuthConfig authConfig, PolicyEnforcer policyEnforcer, long startMs, long startNs) QueryLifecycleFactory(QueryRunnerFactoryConglomerate conglomerate, QuerySegmentWalker texasRanger, GenericQueryMetricsFactory queryMetricsFactory, ServiceEmitter emitter, RequestLogger requestLogger, AuthConfig authConfig, PolicyEnforcer policyEnforcer, AuthorizerMapper authorizerMapper, com.google.common.base.Supplier<DefaultQueryConfig> queryConfigSupplier) QueryResource(QueryLifecycleFactory queryLifecycleFactory, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, QueryScheduler queryScheduler, AuthorizerMapper authorizerMapper, QueryResourceQueryResultPusherFactory queryResultPusherFactory, ResourceIOReaderWriterFactory resourceIOReaderWriterFactory) -
Uses of AuthorizerMapper in org.apache.druid.server.http
Methods in org.apache.druid.server.http with parameters of type AuthorizerMapperModifier and TypeMethodDescriptionstatic SortedSet<ImmutableDruidDataSource>InventoryViewUtils.getSecuredDataSources(javax.servlet.http.HttpServletRequest request, InventoryView inventoryView, AuthorizerMapper authorizerMapper) Constructors in org.apache.druid.server.http with parameters of type AuthorizerMapperModifierConstructorDescriptionDataSourcesResource(CoordinatorServerView serverInventoryView, SegmentsMetadataManager segmentsMetadataManager, MetadataRuleManager metadataRuleManager, OverlordClient overlordClient, AuthorizerMapper authorizerMapper, DruidCoordinator coordinator, AuditManager auditManager) IntervalsResource(InventoryView serverInventoryView, AuthConfig authConfig, AuthorizerMapper authorizerMapper) MetadataResource(SegmentsMetadataManager segmentsMetadataManager, IndexerMetadataStorageCoordinator metadataStorageCoordinator, AuthorizerMapper authorizerMapper, DruidCoordinator coordinator, CoordinatorSegmentMetadataCache coordinatorSegmentMetadataCache) -
Uses of AuthorizerMapper in org.apache.druid.server.http.security
Methods in org.apache.druid.server.http.security that return AuthorizerMapperMethods in org.apache.druid.server.http.security with parameters of type AuthorizerMapperModifier and TypeMethodDescriptionvoidAbstractResourceFilter.setAuthorizerMapper(AuthorizerMapper authorizerMapper) Constructors in org.apache.druid.server.http.security with parameters of type AuthorizerMapperModifierConstructorDescriptionAbstractResourceFilter(AuthorizerMapper authorizerMapper) ConfigResourceFilter(AuthorizerMapper authorizerMapper) DatasourceResourceFilter(AuthorizerMapper authorizerMapper) RulesResourceFilter(AuthorizerMapper authorizerMapper) StateResourceFilter(AuthorizerMapper authorizerMapper) -
Uses of AuthorizerMapper in org.apache.druid.server.security
Fields in org.apache.druid.server.security declared as AuthorizerMapperModifier and TypeFieldDescriptionstatic final AuthorizerMapperAuthTestUtils.TEST_AUTHORIZER_MAPPERMethods in org.apache.druid.server.security with parameters of type AuthorizerMapperModifier 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 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.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.static <T> List<T>AuthorizationUtils.filterByAuthorizedDatasources(javax.servlet.http.HttpServletRequest request, List<T> resources, com.google.common.base.Function<T, String> getDatasource, AuthorizerMapper authorizerMapper) Filters the given datasource-related resources on the basis of datasource permissions.static voidAuthorizationUtils.verifyUnrestrictedAccessToDatasource(javax.servlet.http.HttpServletRequest req, String datasource, AuthorizerMapper authorizerMapper) Verifies that the user has unrestricted access to perform the required action on the given datasource.