public class SimpleWhitelistAuthorizer extends Object implements IAuthorizer
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
users |
static String |
WHITELIST_USERS_CONF |
| Constructor and Description |
|---|
SimpleWhitelistAuthorizer() |
public static String WHITELIST_USERS_CONF
public void prepare(Map conf)
prepare in interface IAuthorizerconf - Storm configurationpublic boolean permit(ReqContext context, String operation, Map topology_conf)
permit in interface IAuthorizercontext - request context includes info aboutoperation - operation nametopology_storm - configuration of targeted topologyCopyright © 2015. All rights reserved.