|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.AciBody
public class AciBody
This class represents the body of an ACI. The body of the ACI is the version, name, and permission-bind rule pairs.
Field Summary | |
---|---|
static java.lang.String |
bodyRegx
Regular expression used to match the body of an ACI. |
Method Summary | |
---|---|
static AciBody |
decode(java.lang.String input)
Decode an ACI string representing the ACI body. |
EnumEvalResult |
evaluate(AciEvalContext evalCtx)
Performs an evaluation of the permission-bind rule pairs using the evaluation context. |
int |
getMatcherStartPos()
Get the start position in the ACI string of the ACI body. |
java.lang.String |
getName()
Returns the name string. |
java.lang.String |
getVersion()
Return version string of the ACI. |
boolean |
hasAccessType(EnumAccessType accessType)
Checks all of the permissions in this body for a specific access type. |
boolean |
hasRights(int rights)
Search through each permission bind rule associated with this body and try and match a single right of the specified rights. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String bodyRegx
Method Detail |
---|
public static AciBody decode(java.lang.String input) throws AciException
input
- String representation of the ACI body.
AciException
- If the provided string contains errors.public boolean hasAccessType(EnumAccessType accessType)
accessType
- The access type enumeration to search for.
public boolean hasRights(int rights)
rights
- The rights that are used in the match.
public int getMatcherStartPos()
public EnumEvalResult evaluate(AciEvalContext evalCtx)
evalCtx
- The evaluation context to evaluate against.
public java.lang.String getName()
public java.lang.String getVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |