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 Summary
-
Method Summary
-
Constructor Details
-
NoopAuthorizer
public NoopAuthorizer()
-
-
Method Details
-
prepare
Invoked once immediately after construction.- Specified by:
prepare
in interfaceIAuthorizer
- Parameters:
conf
- Storm configuration
-
permit
permit() method is invoked for each incoming Thrift request.- Specified by:
permit
in interfaceIAuthorizer
- Parameters:
context
- request context includes info aboutoperation
- operation nametopoConf
- configuration of targeted topology- Returns:
- true if the request is authorized, false if reject
-