|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.operation.ActionHelper
org.glite.security.voms.operation.RemoveCapabilityAction
An action for removing a capability from a user.
Field Summary |
Fields inherited from class org.glite.security.voms.operation.ActionHelper |
cns |
Constructor Summary | |
RemoveCapabilityAction(java.lang.String capability,
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.glite.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 |
Constructor Detail |
public RemoveCapabilityAction(java.lang.String capability, 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
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 |