|
||||||||||
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.SetUserAction
An action for setting the attributes of a user.
Field Summary | |
private static org.apache.log4j.Logger |
log
Logger. |
private User |
user
Parameter: The user to be set. |
Fields inherited from class org.edg.security.voms.operation.ActionHelper |
cns |
Constructor Summary | |
SetUserAction(User user)
|
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 User user
Constructor Detail |
public SetUserAction(User user)
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 |