Class ProcessFrameworkHandler
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
org.opensaml.messaging.handler.AbstractMessageHandler
net.shibboleth.idp.saml.saml2.profile.delegation.messaging.impl.ProcessFrameworkHandler
- All Implemented Interfaces:
Component
,DestructableComponent
,InitializableComponent
,MessageHandler
Handler implementation that handles sbf:Framework header on the inbound SOAP envelope.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doInvoke
(MessageContext messageContext) Get the expected version value.protected org.openliberty.xmltooling.soapbinding.Framework
getFramework
(MessageContext messageContext) Get message Action header.void
setExpectedVersion
(String version) Set the expected version value.Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
DEFAULT_VERSION
Default Framework version.- See Also:
-
log
private org.slf4j.Logger logLogger. -
expectedVersion
The expected version value.
-
-
Constructor Details
-
ProcessFrameworkHandler
public ProcessFrameworkHandler()
-
-
Method Details
-
getExpectedVersion
Get the expected version value.Defaults to:
DEFAULT_VERSION
- Returns:
- the expected version, or null
-
setExpectedVersion
Set the expected version value.Defaults to:
DEFAULT_VERSION
- Parameters:
version
- the new version value
-
doInvoke
- Specified by:
doInvoke
in classAbstractMessageHandler
- Throws:
MessageHandlerException
-
getFramework
protected org.openliberty.xmltooling.soapbinding.Framework getFramework(@Nonnull MessageContext messageContext) Get message Action header.- Parameters:
messageContext
- the current message context- Returns:
- the message Action header
-