public class DenyAuthorizer extends Object implements IAuthorizer
Constructor and Description |
---|
DenyAuthorizer() |
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.
|
public void prepare(Map<String,Object> conf)
prepare
in interface IAuthorizer
conf
- Storm configurationpublic boolean permit(ReqContext context, String operation, Map<String,Object> topoConf)
permit
in interface IAuthorizer
context
- request contextoperation
- operation nametopoConf
- configuration of targeted topologyCopyright © 2023 The Apache Software Foundation. All rights reserved.