Class SimpleWhitelistAuthorizer
java.lang.Object
org.apache.storm.security.auth.authorizer.SimpleWhitelistAuthorizer
- All Implemented Interfaces:
- IAuthorizer
An authorization implementation that simply checks a whitelist of users that are allowed to use the cluster.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
WHITELIST_USERS_CONF- See Also:
 
- 
users
 
- 
- 
Constructor Details- 
SimpleWhitelistAuthorizerpublic SimpleWhitelistAuthorizer()
 
- 
- 
Method Details- 
prepareInvoked once immediately after construction.- Specified by:
- preparein interface- IAuthorizer
- Parameters:
- conf- Storm configuration
 
- 
permit`permit()` 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
 
 
-