Class CheckDestinationAndIssuerHandler
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.handler.AbstractMessageHandler
org.opensaml.messaging.handler.AbstractHttpServletRequestMessageHandler
net.shibboleth.sp.saml.saml2.messaging.impl.CheckDestinationAndIssuerHandler
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,MessageHandler
Message handler that cross checks the message destination and issuer against previously
tracked
StateData if any.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.slf4j.LoggerClass logger.private Function<MessageContext,StateDataContext> Lookup strategy forStateDataContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoInvoke(MessageContext messageContext) voidSets lookup strategy forStateDataContext.Methods inherited from class org.opensaml.messaging.handler.AbstractHttpServletRequestMessageHandler
doInitialize, getHttpServletRequest, getHttpServletRequestSupplier, isCheckDuringInit, setCheckDuringInit, setHttpServletRequestSupplierMethods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, isPreInvokeCalled, setActivationConditionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, 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
-
log
@Nonnull private org.slf4j.Logger logClass logger. -
stateDataContextLookupStrategy
Lookup strategy forStateDataContext.
-
-
Constructor Details
-
CheckDestinationAndIssuerHandler
public CheckDestinationAndIssuerHandler()Constructor.
-
-
Method Details
-
setStateDataContextLookupStrategy
public void setStateDataContextLookupStrategy(@Nonnull Function<MessageContext, StateDataContext> strategy) Sets lookup strategy forStateDataContext.- Parameters:
strategy- lookup strategy
-
doInvoke
- Specified by:
doInvokein classAbstractMessageHandler- Throws:
MessageHandlerException
-