public class AciBody extends Object
| Modifier and Type | Method and Description |
|---|---|
static AciBody |
decode(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.
|
String |
getName()
Returns the name string.
|
String |
getVersion()
Return version string of the ACI.
|
boolean |
hasAccessType(org.opends.server.authorization.dseecompat.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.
|
String |
toString() |
public static AciBody decode(String input) throws AciException
input - String representation of the ACI body.AciException - If the provided string contains errors.public boolean hasAccessType(org.opends.server.authorization.dseecompat.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 String getName()
public String getVersion()
Copyright © 2010-2020 Wren Security. All Rights Reserved.