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 StringBINDING_URIProtocol binding implemented by this decoder.private org.slf4j.LoggerlogClass 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoDecode()StringgetBindingURI()Get the SAML binding URI supported by this decoder.protected StringgetMessageToLog()Get the string representation of what will be logged as the protocol message.protected voidpopulateBindingContext(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 Detail
-
BINDING_URI
@Nonnull @NotEmpty private static final String BINDING_URI
Protocol binding implemented by this decoder.- See Also:
- Constant Field Values
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
-
Method Detail
-
getBindingURI
@Nonnull @NotEmpty public String getBindingURI()
Get the SAML binding URI supported by this decoder.- Returns:
- SAML binding URI supported by this decoder
-
doDecode
protected void doDecode() throws MessageDecodingException- Specified by:
doDecodein 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
@Nullable protected String getMessageToLog()
Get the string representation of what will be logged as the protocol message.- Specified by:
getMessageToLogin classBaseIdPInitiatedSSORequestMessageDecoder- Returns:
- the string representing the protocol message for logging purposes
-
-