|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.ws.message.decoder.BaseMessageDecoder
org.opensaml.ws.message.handler.BaseHandlerChainAwareMessageDecoder
public abstract class BaseHandlerChainAwareMessageDecoder
Base class for message decoders which are capable of processing the message context's inbound HandlerChain
.
Constructor Summary | |
---|---|
BaseHandlerChainAwareMessageDecoder()
Constructor. |
|
BaseHandlerChainAwareMessageDecoder(org.opensaml.xml.parse.ParserPool pool)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.opensaml.ws.message.decoder.BaseMessageDecoder |
---|
doDecode, 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 |
---|
public BaseHandlerChainAwareMessageDecoder()
public BaseHandlerChainAwareMessageDecoder(org.opensaml.xml.parse.ParserPool pool)
pool
- parser pool used to deserialize messagesMethod Detail |
---|
public void decode(MessageContext messageContext) throws MessageDecodingException, org.opensaml.xml.security.SecurityException
decode
in interface MessageDecoder
decode
in class BaseMessageDecoder
messageContext
- current message context
MessageDecodingException
- thrown if the message can not be decoded
org.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 process
MessageDecodingException
- 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 process
MessageDecodingException
- 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 process
HandlerException
- if handler chain encountered a problem handling the message context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |