|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.authorization.dseecompat.PermBindRulePair
public class PermBindRulePair
A class representing a permission-bind rule pair. There can be multiple of these in an ACI.
| Method Summary | |
|---|---|
static PermBindRulePair |
decode(java.lang.String perm,
java.lang.String rights,
java.lang.String bRule)
Decodes a permission bind rule pair. |
BindRule |
getBindRule()
Gets the bind rule part of this pair. |
boolean |
hasAccessType(EnumAccessType accessType)
Checks the permission to see if it has this access type. |
boolean |
hasRights(int right)
Try and match one or more of the specified rights against a rights set of the permission class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PermBindRulePair decode(java.lang.String perm,
java.lang.String rights,
java.lang.String bRule)
throws AciException
perm - A string representing the permissions.rights - A string representing the rights.bRule - A string representing the bind rule.
AciException - If any of the strings fail to decode.public BindRule getBindRule()
public boolean hasAccessType(EnumAccessType accessType)
accessType - An enumeration of the desired access type.
public boolean hasRights(int right)
right - The rights to match.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||