|
Spring Security SAML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.saml.storage.HttpSessionStorage
public class HttpSessionStorage
Class implements storage of SAML messages and uses HttpSession as underlying dataStore. As the XMLObjects can't be serialized and failover could thus be prevented, the messages are transformed into SAMLObject which internally marshalls the content into XML during serialization.
Constructor Summary | |
---|---|
HttpSessionStorage(HttpServletRequest request)
Creates the storage object and initializes it to load SAML messages from Session found in the request object. |
|
HttpSessionStorage(HttpSession session)
|
Method Summary | |
---|---|
Set<String> |
getAllMessages()
|
org.opensaml.xml.XMLObject |
retrieveMessage(String messageID)
Returns previously stored message with the given ID or null, if there is no message stored. |
void |
storeMessage(String messageId,
org.opensaml.xml.XMLObject message)
Stores a request message into the repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpSessionStorage(HttpServletRequest request)
request
- request to load/store messages frompublic HttpSessionStorage(HttpSession session)
Method Detail |
---|
public void storeMessage(String messageId, org.opensaml.xml.XMLObject message)
storeMessage
in interface SAMLMessageStorage
messageId
- ID of messagemessage
- message to be storedpublic org.opensaml.xml.XMLObject retrieveMessage(String messageID)
retrieveMessage
in interface SAMLMessageStorage
messageID
- ID of message to retrieve
public Set<String> getAllMessages()
|
Spring Security SAML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |