org.opensaml.saml1.binding.decoding
Class HTTPPostDecoder

java.lang.Object
  extended by org.opensaml.ws.message.decoder.BaseMessageDecoder
      extended by org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder
          extended by org.opensaml.saml1.binding.decoding.BaseSAML1MessageDecoder
              extended by org.opensaml.saml1.binding.decoding.HTTPPostDecoder
All Implemented Interfaces:
SAMLMessageDecoder, MessageDecoder

public class HTTPPostDecoder
extends BaseSAML1MessageDecoder

SAML 1.X HTTP POST message decoder.


Field Summary
private  org.slf4j.Logger log
          Class logger.
 
Constructor Summary
HTTPPostDecoder()
          Constructor.
HTTPPostDecoder(ParserPool pool)
          Constructor.
HTTPPostDecoder(SAMLArtifactMap map)
          Deprecated.  
HTTPPostDecoder(SAMLArtifactMap map, ParserPool pool)
          Deprecated.  
 
Method Summary
protected  void doDecode(MessageContext messageContext)
          
 String getBindingURI()
          Gets the SAML binding URI supported by this decoder.
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.
 
Methods inherited from class org.opensaml.saml1.binding.decoding.BaseSAML1MessageDecoder
decode, extractAssertionArtifactInfo, extractAttributeQueryInfo, extractAuthorizationDecisionQueryInfo, extractRequestInfo, extractResponseInfo, getArtifactMap, getIntendedDestinationEndpointURI, getUseQueryResourceAsEntityId, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadata, setUseQueryResourceAsEntityId
 
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
 

Field Detail

log

private final org.slf4j.Logger log
Class logger.

Constructor Detail

HTTPPostDecoder

public HTTPPostDecoder()
Constructor.


HTTPPostDecoder

public HTTPPostDecoder(ParserPool pool)
Constructor.

Parameters:
pool - parser pool used to deserialize messages

HTTPPostDecoder

public HTTPPostDecoder(SAMLArtifactMap map)
Deprecated. 

Constructor.

Parameters:
map - Artifact to SAML map

HTTPPostDecoder

public HTTPPostDecoder(SAMLArtifactMap map,
                       ParserPool pool)
Deprecated. 

Constructor.

Parameters:
map - used to map artifacts to SAML
pool - parser pool used to deserialize messages
Method Detail

getBindingURI

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

Returns:
SAML binding URI supported by this decoder

doDecode

protected void doDecode(MessageContext messageContext)
                 throws MessageDecodingException

Specified by:
doDecode in class BaseMessageDecoder
Throws:
MessageDecodingException

isIntendedDestinationEndpointURIRequired

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.

Specified by:
isIntendedDestinationEndpointURIRequired in class BaseSAMLMessageDecoder
Parameters:
samlMsgCtx - current SAML message context
Returns:
true if the intended message destination endpoint is required, false if not


Copyright © 1999-2012. All Rights Reserved.