public class HTTPArtifactDecoder extends BaseSAML2MessageDecoder
コンストラクタと説明 |
---|
HTTPArtifactDecoder(ParserPool pool)
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
doDecode(MessageContext messageContext)
Decodes a message, updating the message context.
|
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 |
processArtifact(SAMLMessageContext samlMsgCtx)
Process the incoming artifact by decoding the artifacts, dereferencing it from the artifact issuer and
storing the resulting protocol message in the message context.
|
decode, extractEntityId, extractRequestInfo, extractResponseInfo, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadata
checkEndpointURI, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, isMessageSigned, setURIComparator
getParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessage
public HTTPArtifactDecoder(ParserPool pool)
pool
- parser pool used to deserialize messagespublic String getBindingURI()
protected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired
クラス内 BaseSAMLMessageDecoder
samlMsgCtx
- current SAML message contextprotected String getIntendedDestinationEndpointURI(SAMLMessageContext samlMsgCtx) throws MessageDecodingException
This SAML 2-specific implementation extracts the value of the protocol message Destination attribute.
getIntendedDestinationEndpointURI
クラス内 BaseSAML2MessageDecoder
samlMsgCtx
- the SAML message context being processedMessageDecodingException
- thrown if the message is not an instance of SAML message that
could be processed by the decoderprotected void doDecode(MessageContext messageContext) throws MessageDecodingException
doDecode
クラス内 BaseMessageDecoder
messageContext
- current message contextMessageDecodingException
- thrown if there is a problem decoding the messageprotected void processArtifact(SAMLMessageContext samlMsgCtx) throws MessageDecodingException
samlMsgCtx
- current message contextMessageDecodingException
- thrown if there is a problem decoding or dereferencing the artifactCopyright © 2012. All Rights Reserved.