org.opensaml.saml2.binding.decoding
Class HandlerChainAwareHTTPSOAP11Decoder

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.HandlerChainAwareHTTPSOAP11Decoder
All Implemented Interfaces:
SAMLMessageDecoder, org.opensaml.ws.message.decoder.MessageDecoder, org.opensaml.ws.message.handler.HandlerChainAware

public class HandlerChainAwareHTTPSOAP11Decoder
extends HTTPSOAP11Decoder
implements org.opensaml.ws.message.handler.HandlerChainAware

SAML 2.0 SOAP 1.1 over HTTP binding decoder with support for handler chains.


Constructor Summary
HandlerChainAwareHTTPSOAP11Decoder()
          Constructor.
HandlerChainAwareHTTPSOAP11Decoder(org.opensaml.xml.parse.ParserPool pool)
          Constructor.
 
Method Summary
 void decode(org.opensaml.ws.message.MessageContext messageContext)
          
protected  void invokeHandlerChain(org.opensaml.ws.message.handler.HandlerChain handlerChain, org.opensaml.ws.message.MessageContext messageContext)
          Invoke a handler chain on the specified message context.
protected  void processPostSecurityInboundHandlerChain(org.opensaml.ws.message.MessageContext messageContext)
          Process the post-SecurityPolicy inbound HandlerChain for the message context, if any.
protected  void processPreSecurityInboundHandlerChain(org.opensaml.ws.message.MessageContext messageContext)
          Process the pre-SecurityPolicy inbound HandlerChain for the message context, if any.
 
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
extractEntityId, extractRequestInfo, extractResponseInfo, getIntendedDestinationEndpointURI, 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

HandlerChainAwareHTTPSOAP11Decoder

public HandlerChainAwareHTTPSOAP11Decoder()
Constructor.


HandlerChainAwareHTTPSOAP11Decoder

public HandlerChainAwareHTTPSOAP11Decoder(org.opensaml.xml.parse.ParserPool pool)
Constructor.

Parameters:
pool - parser pool to use
Method Detail

decode

public void decode(org.opensaml.ws.message.MessageContext messageContext)
            throws org.opensaml.ws.message.decoder.MessageDecodingException,
                   org.opensaml.xml.security.SecurityException

Specified by:
decode in interface org.opensaml.ws.message.decoder.MessageDecoder
Overrides:
decode in class BaseSAML2MessageDecoder
Throws:
org.opensaml.ws.message.decoder.MessageDecodingException
org.opensaml.xml.security.SecurityException

processPreSecurityInboundHandlerChain

protected void processPreSecurityInboundHandlerChain(org.opensaml.ws.message.MessageContext messageContext)
                                              throws org.opensaml.ws.message.decoder.MessageDecodingException
Process the pre-SecurityPolicy inbound HandlerChain for the message context, if any.

Parameters:
messageContext - the message context to process
Throws:
org.opensaml.ws.message.decoder.MessageDecodingException - thrown if a handler indicates a problem handling the message

processPostSecurityInboundHandlerChain

protected void processPostSecurityInboundHandlerChain(org.opensaml.ws.message.MessageContext messageContext)
                                               throws org.opensaml.ws.message.decoder.MessageDecodingException
Process the post-SecurityPolicy inbound HandlerChain for the message context, if any.

Parameters:
messageContext - the message context to process
Throws:
org.opensaml.ws.message.decoder.MessageDecodingException - thrown if a handler indicates a problem handling the message

invokeHandlerChain

protected void invokeHandlerChain(org.opensaml.ws.message.handler.HandlerChain handlerChain,
                                  org.opensaml.ws.message.MessageContext messageContext)
                           throws org.opensaml.ws.message.handler.HandlerException
Invoke a handler chain on the specified message context.

Parameters:
handlerChain - the handle chain to invoke
messageContext - the message context to process
Throws:
org.opensaml.ws.message.handler.HandlerException - if handler chain encountered a problem handling the message context


Copyright © 2006-2013 Internet2. All Rights Reserved.