public class PermBindRulePair extends Object
Modifier and Type | Method and Description |
---|---|
static PermBindRulePair |
decode(String perm,
String rights,
String bRule)
Decodes a permission bind rule pair.
|
BindRule |
getBindRule()
Gets the bind rule part of this pair.
|
boolean |
hasAccessType(org.opends.server.authorization.dseecompat.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.
|
String |
toString() |
public static PermBindRulePair decode(String perm, String rights, 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(org.opends.server.authorization.dseecompat.EnumAccessType accessType)
accessType
- An enumeration of the desired access type.public boolean hasRights(int right)
right
- The rights to match.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.