|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.acls.AclRule
class AclRule
This class represents a rule that can be in Moab's access control list (ACL) mechanism.
The basic AclRule information is the object's name and type. The type directly maps to a CredentialType value. The default mechanism Moab uses to check the ACL for a particular item is if the user or object coming in has ANY of the values in the ACL, then the user or object is given access. If no values match the user or object in question, the user or object is rejected access.
Field Summary | |
---|---|
private AclAffinity |
affinity
Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation. |
private ComparisonOperator |
comparator
The type of comparison to make against the ACL object. |
private AclType |
type
The type of the object that is being granted (or denied) access. |
private String |
value
The name of the object that is being granted (or denied) access. |
Constructor Summary | |
AclRule()
|
Method Summary | |
---|---|
AclAffinity
|
getAffinity()
Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation. |
ComparisonOperator
|
getComparator()
The type of comparison to make against the ACL object. |
AclType
|
getType()
The type of the object that is being granted (or denied) access. |
String
|
getValue()
The name of the object that is being granted (or denied) access. |
void
|
setAffinity(AclAffinity affinity)
Reservation ACLs allow or deny access to reserved resources but they may also be configured to affect a job's affinity for a particular reservation. |
void
|
setComparator(ComparisonOperator comparator)
The type of comparison to make against the ACL object. |
void
|
setType(AclType type)
The type of the object that is being granted (or denied) access. |
void
|
setValue(String value)
The name of the object that is being granted (or denied) access. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private AclAffinity affinity
private ComparisonOperator comparator
private AclType type
private String value
Constructor Detail |
---|
AclRule()
Method Detail |
---|
AclAffinity getAffinity()
ComparisonOperator getComparator()
AclType getType()
String getValue()
void setAffinity(AclAffinity affinity)
void setComparator(ComparisonOperator comparator)
void setType(AclType type)
void setValue(String value)
String toString()
Groovy Documentation