public class DRPCSimpleACLAuthorizer extends DRPCAuthorizerBase
| Modifier and Type | Class and Description |
|---|---|
protected class |
DRPCSimpleACLAuthorizer.AclFunctionEntry |
| Modifier and Type | Field and Description |
|---|---|
protected String |
_aclFileName |
protected boolean |
_permitWhenMissingFunctionEntry |
protected IPrincipalToLocal |
_ptol |
static String |
CLIENT_USERS_KEY |
static String |
FUNCTION_KEY |
static String |
INVOCATION_USER_KEY |
static org.slf4j.Logger |
LOG |
FUNCTION_NAME| Constructor and Description |
|---|
DRPCSimpleACLAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
permitClientOrInvocationRequest(ReqContext context,
Map params,
String fieldName) |
protected boolean |
permitClientRequest(ReqContext context,
String operation,
Map params) |
protected boolean |
permitInvocationRequest(ReqContext context,
String operation,
Map params) |
void |
prepare(Map conf)
Invoked once immediately after construction
|
protected Map<String,DRPCSimpleACLAuthorizer.AclFunctionEntry> |
readAclFromConfig() |
permitpublic static org.slf4j.Logger LOG
public static final String CLIENT_USERS_KEY
public static final String INVOCATION_USER_KEY
public static final String FUNCTION_KEY
protected String _aclFileName
protected IPrincipalToLocal _ptol
protected boolean _permitWhenMissingFunctionEntry
protected Map<String,DRPCSimpleACLAuthorizer.AclFunctionEntry> readAclFromConfig()
public void prepare(Map conf)
IAuthorizerprepare in interface IAuthorizerprepare in class DRPCAuthorizerBaseprotected boolean permitClientOrInvocationRequest(ReqContext context, Map params, String fieldName)
protected boolean permitClientRequest(ReqContext context, String operation, Map params)
permitClientRequest in class DRPCAuthorizerBaseprotected boolean permitInvocationRequest(ReqContext context, String operation, Map params)
permitInvocationRequest in class DRPCAuthorizerBaseCopyright © 2015. All rights reserved.