Class DenyAuthorizer
java.lang.Object
org.apache.storm.security.auth.authorizer.DenyAuthorizer
- All Implemented Interfaces:
IAuthorizer
An authorization implementation that denies everything, for testing purposes.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DenyAuthorizer
public DenyAuthorizer()
-
-
Method Details
-
prepare
Invoked once immediately after construction.- Specified by:
preparein interfaceIAuthorizer- Parameters:
conf- Storm configuration
-
permit
permit() method is invoked for each incoming Thrift request.- Specified by:
permitin interfaceIAuthorizer- Parameters:
context- request contextoperation- operation nametopoConf- configuration of targeted topology- Returns:
- true if the request is authorized, false if reject
-