Modifier and Type | Method and Description |
---|---|
Result |
AccessControl.authorise(Operation operation,
ObjectType objectType,
ObjectProperties properties)
Authorise an operation on an object defined by a set of properties.
|
Modifier and Type | Method and Description |
---|---|
static ObjectType |
ObjectType.parse(String text) |
static ObjectType |
ObjectType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectType[] |
ObjectType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ObjectType |
ClientAction.getObjectType() |
ObjectType |
Action.getObjectType() |
Modifier and Type | Method and Description |
---|---|
Result |
RuleSet.check(Subject subject,
Operation operation,
ObjectType objectType,
ObjectProperties properties)
Checks for the case when the client's address is not known.
|
Result |
RuleSet.check(Subject subject,
Operation operation,
ObjectType objectType,
ObjectProperties properties,
InetAddress addressOfClient)
Check the authorisation granted to a particular identity for an operation on an object type with
specific properties.
|
List<Rule> |
RuleSet.getRules(Subject subject,
Operation operation,
ObjectType objectType)
Filtered rules list based on a subject and operation.
|
void |
RuleSet.grant(Integer number,
String identity,
Permission permission,
Operation operation,
ObjectType object,
AclRulePredicates predicates) |
void |
RuleSet.grant(Integer number,
String identity,
Permission permission,
Operation operation,
ObjectType object,
ObjectProperties properties) |
Constructor and Description |
---|
AclAction(Operation operation,
ObjectType object,
AclRulePredicates predicates) |
AclAction(Operation operation,
ObjectType object,
ObjectProperties properties) |
Action(Operation operation,
ObjectType object) |
Action(Operation operation,
ObjectType object,
ObjectProperties properties) |
Action(Operation operation,
ObjectType object,
String name) |
ClientAction(Operation operation,
ObjectType objectType,
ObjectProperties properties) |
Modifier and Type | Method and Description |
---|---|
Result |
DefaultAccessControl.authorise(Operation operation,
ObjectType objectType,
ObjectProperties properties)
Check if an operation is authorised by asking the configuration object about the access
control rules granted to the current thread's
Subject . |
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.