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
public class ProcessFrameworkHandler extends AbstractMessageHandler
Handler implementation that handles sbf:Framework header on the inbound SOAP envelope.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_VERSIONDefault Framework version.private StringexpectedVersionThe expected version value.private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description ProcessFrameworkHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoInvoke(MessageContext messageContext)StringgetExpectedVersion()Get the expected version value.protected org.openliberty.xmltooling.soapbinding.FrameworkgetFramework(MessageContext messageContext)Get message Action header.voidsetExpectedVersion(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 Detail
-
DEFAULT_VERSION
public static final String DEFAULT_VERSION
Default Framework version.- See Also:
- Constant Field Values
-
log
private org.slf4j.Logger log
Logger.
-
expectedVersion
private String expectedVersion
The expected version value.
-
-
Method Detail
-
getExpectedVersion
@Nullable public String getExpectedVersion()
Get the expected version value.Defaults to:
DEFAULT_VERSION- Returns:
- the expected version, or null
-
setExpectedVersion
public void setExpectedVersion(@Nullable String version)Set the expected version value.Defaults to:
DEFAULT_VERSION- Parameters:
version- the new version value
-
doInvoke
protected void doInvoke(MessageContext messageContext) throws MessageHandlerException
- Specified by:
doInvokein 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
-
-