public class NoopAuthorizer extends Object implements IAuthorizer
A no-op authorization implementation that illustrate info available for authorization decisions.
Constructor and Description |
---|
NoopAuthorizer() |
Modifier and Type | Method and Description |
---|---|
boolean |
permit(ReqContext context,
String operation,
Map topology_conf)
permit() method is invoked for each incoming Thrift request
|
void |
prepare(Map conf)
Invoked once immediately after construction
|
public void prepare(Map conf)
Invoked once immediately after construction
prepare
in interface IAuthorizer
conf
- Storm configurationpublic boolean permit(ReqContext context, String operation, Map topology_conf)
permit() method is invoked for each incoming Thrift request
permit
in interface IAuthorizer
context
- request context includes info aboutoperation
- operation nametopology_conf
- configuration of targeted topologyCopyright © 2019 The Apache Software Foundation. All Rights Reserved.