public class SimpleACLAuthorizer extends Object implements IAuthorizer
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
_admins |
protected IGroupMappingServiceProvider |
_groupMappingProvider |
protected Set<String> |
_nimbusGroups |
protected Set<String> |
_nimbusUsers |
protected IPrincipalToLocal |
_ptol |
protected Set<String> |
_supervisorCommands |
protected Set<String> |
_supervisors |
protected Set<String> |
_topoCommands |
protected Set<String> |
_userCommands |
| Constructor and Description |
|---|
SimpleACLAuthorizer() |
protected IPrincipalToLocal _ptol
protected IGroupMappingServiceProvider _groupMappingProvider
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_conf - configuration of targeted topologyCopyright © 2015. All rights reserved.