Class IdPInitiatedSSORequestMessageDecoder
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder
net.shibboleth.idp.saml.profile.impl.BaseIdPInitiatedSSORequestMessageDecoder
net.shibboleth.idp.saml.saml1.profile.impl.IdPInitiatedSSORequestMessageDecoder
- All Implemented Interfaces:
Component
,DestructableComponent
,InitializableComponent
,UnmodifiableComponent
,MessageDecoder
,HttpServletRequestMessageDecoder
public class IdPInitiatedSSORequestMessageDecoder extends BaseIdPInitiatedSSORequestMessageDecoder
Decodes an incoming Shibboleth Authentication Request message.
-
Field Summary
Fields Modifier and Type Field Description private static String
BINDING_URI
Protocol binding implemented by this decoder.private org.slf4j.Logger
log
Class logger.Fields inherited from class net.shibboleth.idp.saml.profile.impl.BaseIdPInitiatedSSORequestMessageDecoder
PROVIDER_ID_PARAM, SHIRE_PARAM, TARGET_PARAM, TIME_PARAM
-
Constructor Summary
Constructors Constructor Description IdPInitiatedSSORequestMessageDecoder()
-
Method Summary
Modifier and Type Method Description protected void
doDecode()
String
getBindingURI()
Get the SAML binding URI supported by this decoder.protected String
getMessageToLog()
Get the string representation of what will be logged as the protocol message.protected void
populateBindingContext(MessageContext messageContext)
Populate the context which carries information specific to this binding.Methods inherited from class net.shibboleth.idp.saml.profile.impl.BaseIdPInitiatedSSORequestMessageDecoder
buildIdPInitiatedSSORequest, decode, getAcsUrl, getBindingDescriptor, getEntityId, getMessageID, getTarget, getTime, logDecodedMessage, setBindingDescriptor
Methods inherited from class org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder
doDestroy, doInitialize, getHttpServletRequest, setHttpServletRequest
Methods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
getMessageContext, setMessageContext
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, 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.DestructableComponent
destroy, isDestroyed
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
Methods inherited from interface org.opensaml.messaging.decoder.MessageDecoder
getMessageContext
-
Field Details
-
BINDING_URI
Protocol binding implemented by this decoder.- See Also:
- Constant Field Values
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
IdPInitiatedSSORequestMessageDecoder
public IdPInitiatedSSORequestMessageDecoder()
-
-
Method Details
-
getBindingURI
Get the SAML binding URI supported by this decoder.- Returns:
- SAML binding URI supported by this decoder
-
doDecode
- Specified by:
doDecode
in classAbstractMessageDecoder
- Throws:
MessageDecodingException
-
populateBindingContext
protected void populateBindingContext(@Nonnull MessageContext messageContext) throws MessageDecodingExceptionPopulate the context which carries information specific to this binding.- Parameters:
messageContext
- the current message context- Throws:
MessageDecodingException
- if the message content is invalid
-
getMessageToLog
Get the string representation of what will be logged as the protocol message.- Specified by:
getMessageToLog
in classBaseIdPInitiatedSSORequestMessageDecoder
- Returns:
- the string representing the protocol message for logging purposes
-