Package org.apache.druid.server.security
Interface Authorizer
-
- All Known Implementing Classes:
AllowAllAuthorizer
public interface Authorizer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Accessauthorize(AuthenticationResult authenticationResult, Resource resource, Action action)Check if the entity represented byidentityis authorized to performactiononresource.
-
-
-
Method Detail
-
authorize
Access authorize(AuthenticationResult authenticationResult, Resource resource, Action action)
Check if the entity represented byidentityis authorized to performactiononresource.- Parameters:
authenticationResult- The authentication result of the requestresource- The resource to be accessedaction- The action to perform on the resource- Returns:
- An Access object representing the result of the authorization check. Must not be null.
-
-