Spring Security SAML

org.opensaml.saml2.binding.decoding
Class HTTPSOAP11DecoderImpl

java.lang.Object
  extended by org.opensaml.ws.message.decoder.BaseMessageDecoder
      extended by org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder
          extended by org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder
              extended by org.opensaml.saml2.binding.decoding.HTTPSOAP11Decoder
                  extended by org.opensaml.saml2.binding.decoding.HTTPSOAP11DecoderImpl
All Implemented Interfaces:
org.opensaml.common.binding.decoding.SAMLMessageDecoder, org.opensaml.ws.message.decoder.MessageDecoder

public class HTTPSOAP11DecoderImpl
extends org.opensaml.saml2.binding.decoding.HTTPSOAP11Decoder

Custom implementation of the decoder which takes into account user HTTPInput method for determining correct expected URI.


Constructor Summary
HTTPSOAP11DecoderImpl(org.opensaml.xml.parse.ParserPool pool)
           
 
Method Summary
protected  boolean compareEndpointURIs(String messageDestination, String receiverEndpoint)
          In case message destination is set (was included in the message) check is made against the endpoint.
protected  String getActualReceiverEndpointURI(org.opensaml.common.binding.SAMLMessageContext messageContext)
           
 
Methods inherited from class org.opensaml.saml2.binding.decoding.HTTPSOAP11Decoder
checkUnderstoodSOAPHeaders, doDecode, getBindingURI, getUnderstoodHeaders, isIntendedDestinationEndpointURIRequired, setUnderstoodHeaders
 
Methods inherited from class org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder
decode, extractEntityId, extractRequestInfo, extractResponseInfo, getIntendedDestinationEndpointURI, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadata
 
Methods inherited from class org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder
checkEndpointURI, 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

HTTPSOAP11DecoderImpl

public HTTPSOAP11DecoderImpl(org.opensaml.xml.parse.ParserPool pool)
Method Detail

getActualReceiverEndpointURI

protected String getActualReceiverEndpointURI(org.opensaml.common.binding.SAMLMessageContext messageContext)
                                       throws org.opensaml.ws.message.decoder.MessageDecodingException
Overrides:
getActualReceiverEndpointURI in class org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder
Throws:
org.opensaml.ws.message.decoder.MessageDecodingException

compareEndpointURIs

protected boolean compareEndpointURIs(String messageDestination,
                                      String receiverEndpoint)
                               throws org.opensaml.ws.message.decoder.MessageDecodingException
In case message destination is set (was included in the message) check is made against the endpoint. Otherwise always passes.

Overrides:
compareEndpointURIs in class org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder
Parameters:
messageDestination - destination from the SAML message
receiverEndpoint - endpoint address
Returns:
true if the endpoints are equivalent, false otherwise
Throws:
org.opensaml.ws.message.decoder.MessageDecodingException

Spring Security SAML