Spring Security SAML

org.springframework.security.saml.storage
Interface SAMLMessageStorage

All Known Implementing Classes:
HttpSessionStorage

public interface SAMLMessageStorage

Implementations serve as data stores for sent/received SAML messages. Potential implementations could be using for example central repository common for all users within the application or HttpSession.

Messages may need to be stored for example to pair a response with an original request.

Author:
Vladimir Schäfer

Method Summary
 org.opensaml.xml.XMLObject retrieveMessage(String messageID)
          Retrieves message stored under given ID.
 void storeMessage(String messageId, org.opensaml.xml.XMLObject message)
          Stores given message in the data store.
 

Method Detail

storeMessage

void storeMessage(String messageId,
                  org.opensaml.xml.XMLObject message)
Stores given message in the data store. Request must have the ID filled.

Parameters:
messageId - key under which will the message be stored
message - message to store

retrieveMessage

org.opensaml.xml.XMLObject retrieveMessage(String messageID)
Retrieves message stored under given ID.

Parameters:
messageID - message ID to look up
Returns:
request or null if not found

Spring Security SAML