Package net.shibboleth.sp.profile.impl
Class AbstractRevocationAction
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.AbstractConditionalProfileAction
net.shibboleth.idp.profile.AbstractProfileAction
net.shibboleth.sp.profile.AbstractAgentRequestAction
net.shibboleth.sp.profile.AbstractAgentAction
net.shibboleth.sp.profile.AbstractApplicationAction
net.shibboleth.sp.profile.impl.AbstractRevocationAction
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
- Direct Known Subclasses:
CheckRevocation,RevokeSession
Base class for actions involved with session revocation.
- Event:
EventIds.INVALID_MESSAGE- Precondition:
AgentRequestContext.getIntput().isstruct()
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringSession ID from input message.private final org.slf4j.LoggerClass logger.static final StringInput member for session ID.static final StringStorage context for revocation.private StorageServiceStorage for revocation list. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoPreExecute(ProfileRequestContext profileRequestContext) protected StringGets the session ID from the input message.protected StringCompute agent-specific storage context.protected StorageServiceGets the storage service for revocation list.voidsetStorageService(StorageService service) Set storage service for revocation list.Methods inherited from class net.shibboleth.sp.profile.AbstractApplicationAction
ensureApplication, getApplicationMethods inherited from class net.shibboleth.sp.profile.AbstractAgentAction
ensureAgent, getAgentMethods inherited from class net.shibboleth.sp.profile.AbstractAgentRequestAction
ensureAgentRequestContext, getAgentRequestContext, setAgentRequestContextLookupStrategyMethods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getBean, getBean, getMessage, getMessage, getMessage, getParameter, getParameter, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationConditionMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doExecute, doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
STORAGE_CONTEXT
Storage context for revocation.- See Also:
-
SESSION_ID
Input member for session ID.- See Also:
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
storageService
Storage for revocation list. -
key
Session ID from input message.
-
-
Constructor Details
-
AbstractRevocationAction
public AbstractRevocationAction()
-
-
Method Details
-
getStorageService
Gets the storage service for revocation list.- Returns:
- storage service, if installed
-
setStorageService
Set storage service for revocation list.- Parameters:
service- revocation storage
-
getSessionID
Gets the session ID from the input message.- Returns:
- session ID
-
doPreExecute
- Overrides:
doPreExecutein classAbstractApplicationAction
-
getStorageContext
Compute agent-specific storage context.- Returns:
- storage context with agent qualifier
-