public interface IAuthorizer
Nimbus could be configured with an authorization plugin. If not specified, all requests are authorized.
You could specify the authorization plugin via storm parameter. For example:
storm -c nimbus.authorization.class=org.apache.storm.security.auth.NoopAuthorizer ...
You could also specify it via storm.yaml:
nimbus.authorization.class: org.apache.storm.security.auth.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 storm_conf)
Invoked once immediately after construction
|
void prepare(Map storm_conf)
Invoked once immediately after construction
storm_conf
- Storm configurationboolean permit(ReqContext context, String operation, Map topology_conf)
permit() method is invoked for each incoming Thrift request.
context
- request context includes info aboutoperation
- operation nametopology_conf
- configuration of targeted topologyCopyright © 2022 The Apache Software Foundation. All Rights Reserved.