public interface IAuthorizer
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:
```yaml nimbus.authorization.class: org.apache.storm.security.auth.NoopAuthorizer ```
| Modifier and Type | Method and Description |
|---|---|
boolean |
permit(ReqContext context,
String operation,
Map<String,Object> topoConf)
permit() method is invoked for each incoming Thrift request.
|
void |
prepare(Map<String,Object> conf)
Invoked once immediately after construction.
|
void prepare(Map<String,Object> conf)
conf - Storm cluster configurationboolean permit(ReqContext context, String operation, Map<String,Object> topoConf)
context - request context includes info aboutoperation - operation nametopoConf - configuration of targeted topologyCopyright © 2023 The Apache Software Foundation. All rights reserved.