|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.IP
public class IP
This class represents a single ACI's IP bind rule expression. It is possble for that expression to contain several IP addresses to evaluate, so the class contains a list of classes that can evaluate a remote clients IP address for each IP address parsed from the bind rule.
Method Summary | |
---|---|
static KeywordBindRule |
decode(java.lang.String expr,
EnumBindRuleType type)
Decodes the provided IP bind rule expression string and returns an IP class the can be used to evaluate remote clients IP addresses. |
EnumEvalResult |
evaluate(AciEvalContext evalCtx)
Perform an evaluation using the provided evaluation context's remote IP address information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static KeywordBindRule decode(java.lang.String expr, EnumBindRuleType type) throws AciException
expr
- The expression string from the ACI IP bind rule.type
- An enmumeration representing the expression type.
AciException
- If there is a parsing error.public EnumEvalResult evaluate(AciEvalContext evalCtx)
evaluate
in interface KeywordBindRule
evalCtx
- An evaluation context containing the remote clients
IP address information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |