|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.Permission
public class Permission
A class representing the permissions of an bind rule. The permissions of an ACI look like deny(search, write).
Method Summary | |
---|---|
static Permission |
decode(java.lang.String accessType,
java.lang.String rights)
Decode an string representation of bind rule permission into a Permission class. |
boolean |
hasAccessType(EnumAccessType accessType)
Checks if a given access type enumeration is equal to this classes access type. |
boolean |
hasRights(int rights)
Checks if the permission's rights has the specified rights. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Permission decode(java.lang.String accessType, java.lang.String rights) throws AciException
accessType
- A string representing the access type.rights
- A string representing the rights.
AciException
- If the accesstype or rights strings are invalid.public boolean hasAccessType(EnumAccessType accessType)
accessType
- An enumeration representing an access type.
public boolean hasRights(int rights)
rights
- The rights to check for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |