Package org.apache.druid.server.security
Class AllowAllAuthorizer
java.lang.Object
org.apache.druid.server.security.AllowAllAuthorizer
- All Implemented Interfaces:
Authorizer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorize(AuthenticationResult authenticationResult, Resource resource, Action action) Check if the entity represented byidentityis authorized to performactiononresource.
-
Constructor Details
-
AllowAllAuthorizer
public AllowAllAuthorizer()
-
-
Method Details
-
authorize
public Access authorize(AuthenticationResult authenticationResult, Resource resource, Action action) Description copied from interface:AuthorizerCheck if the entity represented byidentityis authorized to performactiononresource.If the action involves reading a table, the outcome could include
Policyrestrictions. However, if the action does not involve reading a table, there must be noPolicyrestrictions.- Specified by:
authorizein interfaceAuthorizer- Parameters:
authenticationResult- The authentication result of the requestresource- The resource to be accessedaction- The action to perform on the resource- Returns:
- An
Accessobject representing the result of the authorization check. Must not be null.
-