org.opensaml.saml2.binding.decoding
Class HTTPPostSimpleSignDecoder

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.HTTPPostDecoder
                  extended by org.opensaml.saml2.binding.decoding.HTTPPostSimpleSignDecoder
All Implemented Interfaces:
SAMLMessageDecoder, MessageDecoder

public class HTTPPostSimpleSignDecoder
extends HTTPPostDecoder

Message decoder implementing the SAML 2.0 HTTP POST-SimpleSign binding.


Constructor Summary
HTTPPostSimpleSignDecoder()
          Constructor.
HTTPPostSimpleSignDecoder(ParserPool pool)
          Constructor.
 
Method Summary
 String getBindingURI()
          Gets the SAML binding URI supported by this decoder.
protected  boolean isMessageSigned(SAMLMessageContext messageContext)
          Determine whether the SAML message represented by the message context is digitally signed.
 
Methods inherited from class org.opensaml.saml2.binding.decoding.HTTPPostDecoder
doDecode, getBase64DecodedMessage, isIntendedDestinationEndpointURIRequired
 
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, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, 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

HTTPPostSimpleSignDecoder

public HTTPPostSimpleSignDecoder()
Constructor.


HTTPPostSimpleSignDecoder

public HTTPPostSimpleSignDecoder(ParserPool pool)
Constructor.

Parameters:
pool - parser pool used to deserialize messages
Method Detail

getBindingURI

public String getBindingURI()
Gets the SAML binding URI supported by this decoder.

Specified by:
getBindingURI in interface SAMLMessageDecoder
Overrides:
getBindingURI in class HTTPPostDecoder
Returns:
SAML binding URI supported by this decoder

isMessageSigned

protected boolean isMessageSigned(SAMLMessageContext messageContext)
Determine whether the SAML message represented by the message context is digitally signed.

The default behavior is to examine whether an XML signature is present on the SAML protocol message. Subclasses may augment or replace with binding-specific behavior.

Overrides:
isMessageSigned in class BaseSAMLMessageDecoder
Parameters:
messageContext - current message context
Returns:
true if the message is considered to be digitially signed, false otherwise


Copyright © 1999-2012. All Rights Reserved.