|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.voms.operation.ActionHelper | +--org.edg.security.voms.operation.DeleteUserAction
An action for deleting a user from the database.
Field Summary | |
private static org.apache.log4j.Logger |
log
Logger. |
private java.lang.String |
userca
Parameter: The user's CA. |
private java.lang.String |
username
Parameter: The user's DN. |
Fields inherited from class org.edg.security.voms.operation.ActionHelper |
cns |
Constructor Summary | |
DeleteUserAction(java.lang.String username,
java.lang.String userca)
|
Method Summary | |
void |
checkPermission()
Check that the current client (as specified by the current security context) has the right to perform this action. |
void |
perform()
Do the operation that this action represents, without ACL checks. |
Methods inherited from class org.edg.security.voms.operation.ActionHelper |
getAdminUsers, getContainerName, getDescription, getParameters, performWithResult |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.log4j.Logger log
private java.lang.String username
private java.lang.String userca
Constructor Detail |
public DeleteUserAction(java.lang.String username, java.lang.String userca)
Method Detail |
public void checkPermission() throws VOMSException
Action
VOMSSecurityException
.
checkPermission
in interface Action
checkPermission
in class ActionHelper
VOMSException
SecurityContext
public void perform() throws VOMSException
Action
Action.performWithResult()
, for actions that do not need
a return value. Most actions are like this, so the elimination of the
extra return statement seems worthwhile.
perform
in interface Action
perform
in class ActionHelper
VOMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |