|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.voms.service.ACLEntry | +--org.edg.security.voms.service.ACLEntryHelper
Convenience functions for ACLEntry.
Field Summary | |
private static org.apache.log4j.Logger |
log
Logger. |
Constructor Summary | |
ACLEntryHelper(ACLEntry entry)
Creates a new enhanced ACL entry from the given ACL entry. |
|
ACLEntryHelper(java.lang.String adminDN,
java.lang.String adminCA,
Operation operation,
boolean allow)
Creates a new ACL entry with the given data. |
Method Summary | |
Operation |
getOperation()
Returns the operation field of this ACL entry. |
void |
setOperation(Operation operation)
Sets the operation field of this ACL entry. |
void |
setOperationName(java.lang.String operation)
Sets the operation field of this ACL entry to the given string. |
java.lang.String |
toString()
Prints the ACL entry. |
Methods inherited from class org.edg.security.voms.service.ACLEntry |
getAdminCA, getAdminDN, getOperationName, isAllow, setAdminCA, setAdminDN, setAllow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final transient org.apache.log4j.Logger log
Constructor Detail |
public ACLEntryHelper(java.lang.String adminDN, java.lang.String adminCA, Operation operation, boolean allow)
public ACLEntryHelper(ACLEntry entry) throws ArgumentException
ArgumentException
- if there is no operation corresponding to the given integer.
Calls to this should be eliminated, if possible.Method Detail |
public void setOperationName(java.lang.String operation)
setOperationName
in class ACLEntry
java.lang.IllegalArgumentException
- (unchecked!) if there is no such operation.public void setOperation(Operation operation)
public Operation getOperation() throws ArgumentException
ArgumentException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |