|
OpenSAML-J 2.4.1-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.ws.message.decoder.BaseMessageDecoder
org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder
org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder
org.opensaml.saml2.binding.decoding.HTTPArtifactDecoder
public class HTTPArtifactDecoder
SAML 2 Artifact Binding decoder, support both HTTP GET and POST. NOTE: This decoder is not yet implemented.
Constructor Summary | |
---|---|
HTTPArtifactDecoder(org.opensaml.xml.parse.ParserPool pool)
Constructor. |
Method Summary | |
---|---|
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 |
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. |
Methods inherited from class org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder |
---|
decode, extractEntityId, extractRequestInfo, extractResponseInfo, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadata |
Methods inherited from class org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder |
---|
checkEndpointURI, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, isMessageSigned, setURIComparator |
Methods inherited from class org.opensaml.ws.message.decoder.BaseMessageDecoder |
---|
getParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPArtifactDecoder(org.opensaml.xml.parse.ParserPool pool)
pool
- parser pool used to deserialize messagesMethod Detail |
---|
public String getBindingURI()
protected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired
in class BaseSAMLMessageDecoder
samlMsgCtx
- current SAML message context
protected String getIntendedDestinationEndpointURI(SAMLMessageContext samlMsgCtx) throws org.opensaml.ws.message.decoder.MessageDecodingException
This SAML 2-specific implementation extracts the value of the protocol message Destination attribute.
getIntendedDestinationEndpointURI
in class BaseSAML2MessageDecoder
samlMsgCtx
- the SAML message context being processed
org.opensaml.ws.message.decoder.MessageDecodingException
- thrown if the message is not an instance of SAML message that
could be processed by the decoderprotected void doDecode(org.opensaml.ws.message.MessageContext messageContext) throws org.opensaml.ws.message.decoder.MessageDecodingException
doDecode
in class org.opensaml.ws.message.decoder.BaseMessageDecoder
org.opensaml.ws.message.decoder.MessageDecodingException
protected void processArtifact(SAMLMessageContext samlMsgCtx) throws org.opensaml.ws.message.decoder.MessageDecodingException
samlMsgCtx
- current message context
org.opensaml.ws.message.decoder.MessageDecodingException
- thrown if there is a problem decoding or dereferencing the artifact
|
OpenSAML-J 2.4.1-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |