Class NoopAuthorizer
java.lang.Object
org.apache.storm.security.auth.authorizer.NoopAuthorizer
- All Implemented Interfaces:
- IAuthorizer
A no-op authorization implementation that illustrate info available for authorization decisions.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
NoopAuthorizerpublic NoopAuthorizer()
 
- 
- 
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
 
 
-