org.opensaml.ws.message.decoder
Interface MessageDecoder

All Known Implementing Classes:
BaseMessageDecoder

public interface MessageDecoder

Decodes a message, from an inbound transport, in a binding specific mannger. As the decode proceeds information is stored in the MessageContext. The decoding process deserializes the message from the inbound transport into its DOM representation, unmarshall the DOM into the appropriate XMLObject, and then evaluates the security policy against the inbound transport and decoded message. Message decoders MUST must be thread safe and stateless.


Method Summary
 void decode(MessageContext messageContext)
          Decodes a message in a binding specific manner.
 

Method Detail

decode

void decode(MessageContext messageContext)
            throws MessageDecodingException,
                   org.opensaml.xml.security.SecurityException
Decodes a message in a binding specific manner.

Parameters:
messageContext - current message context
Throws:
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 constraints


Copyright © 2006-2009 Internet2. All Rights Reserved.