public class IdPInitiatedSSORequestMessageDecoder extends BaseIdPInitiatedSSORequestMessageDecoder<org.opensaml.saml.common.SAMLObject> implements org.opensaml.saml.common.binding.decoding.SAMLMessageDecoder
| Modifier and Type | Field and Description |
|---|---|
private static String |
BINDING_URI
Protocol binding implemented by this decoder.
|
private org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.Issuer> |
issuerBuilder
Builder of SAML 2
Issuer objects. |
private org.slf4j.Logger |
log
Class logger.
|
private org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.NameIDPolicy> |
nipBuilder
Builder of SAML 2
NameIDPolicy objects. |
private org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest> |
requestBuilder
Builder of SAML 2
AuthnRequest objects. |
private IdPInitiatedSSORequest |
ssoRequest
The IdP-initiated request structure parsed from the inbound request.
|
PROVIDER_ID_PARAM, SHIRE_PARAM, TARGET_PARAM, TIME_PARAM| Constructor and Description |
|---|
IdPInitiatedSSORequestMessageDecoder()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.opensaml.saml.saml2.core.AuthnRequest |
buildAuthnRequest()
Build a synthetic AuthnRequest instance from the IdP-initiated SSO request structure.
|
protected void |
doDecode() |
String |
getBindingURI() |
protected IdPInitiatedSSORequest |
getIdPInitiatedSSORequest()
Get the internally constructed instance of
IdPInitiatedSSORequest. |
protected String |
getMessageToLog()
Get the string representation of what will be logged as the protocol message.
|
protected void |
populateBindingContext(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
buildIdPInitiatedSSORequest, decode, getAcsUrl, getBindingDescriptor, getEntityId, getMessageID, getTarget, getTime, logDecodedMessage, setBindingDescriptordoDestroy, doInitialize, getHttpServletRequest, setHttpServletRequestgetMessageContext, setMessageContextdestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, getMessageContextinitialize, isInitializeddestroy, isDestroyed@Nonnull @NotEmpty private static final String BINDING_URI
@Nonnull private final org.slf4j.Logger log
private final org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest> requestBuilder
AuthnRequest objects.private final org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.Issuer> issuerBuilder
Issuer objects.private final org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.NameIDPolicy> nipBuilder
NameIDPolicy objects.@Nullable private IdPInitiatedSSORequest ssoRequest
public IdPInitiatedSSORequestMessageDecoder()
@Nonnull @NotEmpty public String getBindingURI()
getBindingURI in interface org.opensaml.saml.common.binding.decoding.SAMLMessageDecoder@Nullable protected IdPInitiatedSSORequest getIdPInitiatedSSORequest()
IdPInitiatedSSORequest.protected void doDecode()
throws org.opensaml.messaging.decoder.MessageDecodingException
doDecode in class org.opensaml.messaging.decoder.AbstractMessageDecoder<org.opensaml.saml.common.SAMLObject>org.opensaml.messaging.decoder.MessageDecodingException@Nonnull protected org.opensaml.saml.saml2.core.AuthnRequest buildAuthnRequest() throws org.opensaml.messaging.decoder.MessageDecodingException
org.opensaml.messaging.decoder.MessageDecodingException - if the inbound request does not contain an entityID valueprotected void populateBindingContext(@Nonnull org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext)
messageContext - the current message context@Nullable protected String getMessageToLog()
getMessageToLog in class BaseIdPInitiatedSSORequestMessageDecoder<org.opensaml.saml.common.SAMLObject>Copyright © 1999–2017 Shibboleth Consortium. All rights reserved.