|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.org.iscream.cms.util.ACL.ACLRule
Wrapper class for an ACL rule.
Field Summary | |
private boolean |
_allow
Whether this is an ALLOW or DENY rule. |
private String |
_expression
What this rule matches. |
private short[] |
_ipaddr
The IP wildcard, only valid if this is an IP rule. |
private boolean |
_iprule
Whether this is an IP rule. |
Constructor Summary | |
private |
ACL.ACLRule(boolean allow,
String expression,
short[] ipaddr,
boolean iprule)
Construct an ACL rule. |
Method Summary | |
String |
toString()
Returns a String representation of this rule. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private boolean _allow
private String _expression
private short[] _ipaddr
private boolean _iprule
Constructor Detail |
private ACL.ACLRule(boolean allow, String expression, short[] ipaddr, boolean iprule)
allow
- whether this is an ALLOW or DENY ruleexpression
- what this rule matchesipaddr
- the IP address wildcard this rule matches if it's an IP ruleiprule
- whether this is an IP ruleMethod Detail |
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |