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(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() |
void |
toString(StringBuilder buffer)
Appends a string representation of this object to the provided buffer.
|
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(EnumAccessType accessType)
accessType
- An enumeration of the desired access type.public boolean hasRights(int right)
right
- The rights to match.public final void toString(StringBuilder buffer)
buffer
- The buffer into which a string representation of this object
should be appended.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.