org.edg.security.voms.request
Class IncompleteRequestTimeoutAction
java.lang.Object
|
+--org.edg.security.voms.operation.ActionHelper
|
+--org.edg.security.voms.request.IncompleteRequestTimeoutAction
- All Implemented Interfaces:
- Action, java.io.Serializable
- public final class IncompleteRequestTimeoutAction
- extends ActionHelper
An action for timing out incomplete requests that are not touched for a
predefined amount of time.
- Version:
- $Name: v0_7_0 $
- Author:
- Karoly Lorentey
- See Also:
- Serialized Form
Field Summary |
private static org.apache.log4j.Logger |
log
Logger. |
static long |
ONE_DAY
The length of one day in milliseconds. |
Fields inherited from class org.edg.security.voms.operation.ActionHelper |
cns |
Method Summary |
void |
checkPermission()
Expiry needs LIST priviliges on the VO group.
|
void |
perform()
Do the operation that this action represents, without ACL checks. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.log4j.Logger log
- Logger.
ONE_DAY
public static final long ONE_DAY
- The length of one day in milliseconds.
- See Also:
- Constant Field Values
IncompleteRequestTimeoutAction
public IncompleteRequestTimeoutAction()
checkPermission
public void checkPermission()
throws VOMSException
- Expiry needs LIST priviliges on the VO group.
TODO: revise this.
- Specified by:
checkPermission
in interface Action
- Overrides:
checkPermission
in class ActionHelper
VOMSException
- See Also:
SecurityContext
perform
public void perform()
throws VOMSException
- Description copied from interface:
Action
- Do the operation that this action represents, without ACL checks. Any
errors must be signalled by throwing an exception. This is essentially
a shorthand for
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.
- Specified by:
perform
in interface Action
- Overrides:
perform
in class ActionHelper
VOMSException