Class AllowAllAuthorizer

java.lang.Object
org.apache.druid.server.security.AllowAllAuthorizer
All Implemented Interfaces:
Authorizer

public class AllowAllAuthorizer extends Object implements Authorizer
  • Constructor Details

    • AllowAllAuthorizer

      public AllowAllAuthorizer()
  • Method Details

    • authorize

      public Access authorize(AuthenticationResult authenticationResult, Resource resource, Action action)
      Description copied from interface: Authorizer
      Check if the entity represented by identity is authorized to perform action on resource.

      If the action involves reading a table, the outcome could include Policy restrictions. However, if the action does not involve reading a table, there must be no Policy restrictions.

      Specified by:
      authorize in interface Authorizer
      Parameters:
      authenticationResult - The authentication result of the request
      resource - The resource to be accessed
      action - The action to perform on the resource
      Returns:
      An Access object representing the result of the authorization check. Must not be null.