|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.PatternIP
public class PatternIP
A class representing a single IP address parsed from a IP bind rule expression. The class can be used to evaluate a remote clients IP address using the information parsed from the IP bind rule expression.
Method Summary | |
---|---|
static PatternIP |
decode(java.lang.String expr)
Decode the provided address expression string and create a class that can be used to perform an evaluation of an IP address based on the decoded expression string information. |
EnumEvalResult |
evaluate(java.net.InetAddress remoteAddr)
Evaluate the provided IP address against the information processed during the IP bind rule expression decode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PatternIP decode(java.lang.String expr) throws AciException
expr
- The address expression string from the ACI IP bind rule.
AciException
- If the address expression is invalid.public EnumEvalResult evaluate(java.net.InetAddress remoteAddr)
remoteAddr
- A IP address to evaluate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |