Class implements storage of SAML messages and uses HttpSession as underlying dataStore. As the XMLObjects
can't be serialized (which could lead to problems during failover), the messages are transformed into SAMLObject
which internally marshalls the content into XML during serialization.
Messages are populated to a Hashtable and stored inside HttpSession. The Hashtable is lazily initialized
during first attempt to create or retrieve a message.
public org.opensaml.xml.XMLObject retrieveMessage(String messageID)
Returns previously stored message with the given ID or null, if there is no message
Message is stored in String format and must be unmarshalled into XMLObject. Call to this
method may thus be expensive.
Messages are automatically cleared upon successful reception, as we presume that there
are never multiple ongoing SAML exchanges for the same session. This saves memory used by