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, MessageDecoder, HandlerChainAware

public class HandlerChainAwareHTTPSOAP11Decoder
extends HTTPSOAP11Decoder
implements HandlerChainAware

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


Field Summary
private  org.slf4j.Logger log
          Class logger.
 
Constructor Summary
HandlerChainAwareHTTPSOAP11Decoder()
          Constructor.
HandlerChainAwareHTTPSOAP11Decoder(ParserPool pool)
          Constructor.
 
Method Summary
 void decode(MessageContext messageContext)
          
protected  void invokeHandlerChain(HandlerChain handlerChain, MessageContext messageContext)
          Invoke a handler chain on the specified message context.
protected  void processPostSecurityInboundHandlerChain(MessageContext messageContext)
          Process the post-SecurityPolicy inbound HandlerChain for the message context, if any.
protected  void processPreSecurityInboundHandlerChain(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
 

Field Detail

log

private final org.slf4j.Logger log
Class logger.

Constructor Detail

HandlerChainAwareHTTPSOAP11Decoder

public HandlerChainAwareHTTPSOAP11Decoder()
Constructor.


HandlerChainAwareHTTPSOAP11Decoder

public HandlerChainAwareHTTPSOAP11Decoder(ParserPool pool)
Constructor.

Parameters:
pool - parser pool to use
Method Detail

decode

public void decode(MessageContext messageContext)
            throws MessageDecodingException,
                   SecurityException

Specified by:
decode in interface MessageDecoder
Overrides:
decode in class BaseSAML2MessageDecoder
Throws:
MessageDecodingException
SecurityException

processPreSecurityInboundHandlerChain

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

Parameters:
messageContext - the message context to process
Throws:
MessageDecodingException - thrown if a handler indicates a problem handling the message

processPostSecurityInboundHandlerChain

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

Parameters:
messageContext - the message context to process
Throws:
MessageDecodingException - thrown if a handler indicates a problem handling the message

invokeHandlerChain

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

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


Copyright © 1999-2012. All Rights Reserved.