public abstract class BaseHandlerChainAwareMessageDecoder extends BaseMessageDecoder implements HandlerChainAware
HandlerChain.| Constructor and Description |
|---|
BaseHandlerChainAwareMessageDecoder()
Constructor.
|
BaseHandlerChainAwareMessageDecoder(org.opensaml.xml.parse.ParserPool pool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(MessageContext messageContext)
Decodes a message in a binding specific manner.
|
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. |
doDecode, getParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessagepublic BaseHandlerChainAwareMessageDecoder()
public BaseHandlerChainAwareMessageDecoder(org.opensaml.xml.parse.ParserPool pool)
pool - parser pool used to deserialize messagespublic void decode(MessageContext messageContext) throws MessageDecodingException, org.opensaml.xml.security.SecurityException
decode in interface MessageDecoderdecode in class BaseMessageDecodermessageContext - current message contextMessageDecodingException - thrown if the message can not be decodedorg.opensaml.xml.security.SecurityException - thrown if the decoded message does not meet the required security constraintsprotected void processPreSecurityInboundHandlerChain(MessageContext messageContext) throws MessageDecodingException
HandlerChain for the message context, if any.messageContext - the message context to processMessageDecodingException - thrown if a handler indicates a problem handling the messageprotected void processPostSecurityInboundHandlerChain(MessageContext messageContext) throws MessageDecodingException
HandlerChain for the message context, if any.messageContext - the message context to processMessageDecodingException - thrown if a handler indicates a problem handling the messageprotected void invokeHandlerChain(HandlerChain handlerChain, MessageContext messageContext) throws HandlerException
handlerChain - the handle chain to invokemessageContext - the message context to processHandlerException - if handler chain encountered a problem handling the message contextCopyright © 1999-2014. All Rights Reserved.