public class HTTPArtifactDecoder extends BaseSAML1MessageDecoder
| Constructor and Description |
|---|
HTTPArtifactDecoder(SAMLArtifactMap map,
org.opensaml.xml.parse.ParserPool pool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decodeTarget(SAMLMessageContext samlMsgCtx)
Decodes the TARGET parameter and adds it to the message context.
|
protected void |
doDecode(org.opensaml.ws.message.MessageContext messageContext) |
String |
getBindingURI()
Gets the SAML binding URI supported by this decoder.
|
protected String |
getIntendedDestinationEndpointURI(SAMLMessageContext samlMsgCtx)
Extract the message information which indicates to what receiver endpoint URI the
SAML message was intended to be delivered.
|
protected boolean |
isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
Determine whether the binding implemented by the decoder requires the presence within the message
of information indicating the intended message destination endpoint URI.
|
protected void |
processArtifacts(SAMLMessageContext samlMsgCtx)
Process the incoming artifacts by decoding the artifacts, dereferencing them from the artifact source and
storing the resulting response (with assertions) in the message context.
|
decode, extractAssertionArtifactInfo, extractAttributeQueryInfo, extractAuthorizationDecisionQueryInfo, extractRequestInfo, extractResponseInfo, getArtifactMap, getUseQueryResourceAsEntityId, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadata, setUseQueryResourceAsEntityIdcheckEndpointURI, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, isMessageSigned, setURIComparatorpublic HTTPArtifactDecoder(SAMLArtifactMap map, org.opensaml.xml.parse.ParserPool pool)
map - used to map artifacts to SAMLpool - parser pool used to deserialize messagespublic String getBindingURI()
protected void doDecode(org.opensaml.ws.message.MessageContext messageContext)
throws org.opensaml.ws.message.decoder.MessageDecodingException
doDecode in class org.opensaml.ws.message.decoder.BaseMessageDecoderorg.opensaml.ws.message.decoder.MessageDecodingExceptionprotected void decodeTarget(SAMLMessageContext samlMsgCtx) throws org.opensaml.ws.message.decoder.MessageDecodingException
samlMsgCtx - current message contextorg.opensaml.ws.message.decoder.MessageDecodingException - thrown if there is a problem decoding the TARGET parameter.protected void processArtifacts(SAMLMessageContext samlMsgCtx) throws org.opensaml.ws.message.decoder.MessageDecodingException
samlMsgCtx - current message contextorg.opensaml.ws.message.decoder.MessageDecodingException - thrown if there is a problem decoding or dereferencing the artifactsprotected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired in class BaseSAMLMessageDecodersamlMsgCtx - current SAML message contextprotected String getIntendedDestinationEndpointURI(SAMLMessageContext samlMsgCtx) throws org.opensaml.ws.message.decoder.MessageDecodingException
This SAML 1-specific implementation extracts the value of the ResponseAbstractType protocol message Recipient attribute.
getIntendedDestinationEndpointURI in class BaseSAML1MessageDecodersamlMsgCtx - the SAML message context being processedorg.opensaml.ws.message.decoder.MessageDecodingException - thrown if the message is not an instance of SAML message that
could be processed by the decoderCopyright © 1999–2015. All rights reserved.