Class SupervisorSimpleACLAuthorizer
java.lang.Object
org.apache.storm.security.auth.authorizer.SupervisorSimpleACLAuthorizer
- All Implemented Interfaces:
- IAuthorizer
An authorization implementation that simply checks if a user is allowed to perform specific operations.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected IGroupMappingServiceProviderprotected IPrincipalToLocal
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
topoCommands
- 
nimbusCommands
- 
admins
- 
adminsGroups
- 
nimbus
- 
ptol
- 
groupMappingServiceProvider
 
- 
- 
Constructor Details- 
SupervisorSimpleACLAuthorizerpublic SupervisorSimpleACLAuthorizer()
 
- 
- 
Method Details- 
prepareInvoked once immediately after construction.- Specified by:
- preparein interface- IAuthorizer
- Parameters:
- conf- Storm configuration
 
- 
permitpermit() method is invoked for each incoming Thrift request.- Specified by:
- permitin interface- IAuthorizer
- Parameters:
- context- request context includes info about
- operation- operation name
- topoConf- configuration of targeted topology
- Returns:
- true if the request is authorized, false if reject
 
 
-