|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterRequestStateMgmt
Defines the methods needed by PingFederate to keep short lived state between user requests. Some examples are keeping track of state between issuing a request to a partner and processing the response and keeping track of state during asynchronous adapter interactions.
Method Summary | |
---|---|
void |
cleanup(java.lang.String sessionId)
Clean up any orphaned state associated with this session id. |
org.sourceid.saml20.state.State |
retrieveAndRemoveState(java.lang.String stateKey)
Retrieve the state associated with the given key. |
void |
saveState(java.lang.String sessionId,
java.lang.String stateKey,
org.sourceid.saml20.state.State state)
Associate the state object with the given key (so that it can be retrieved by retrieveAndRemoveState(String) ). |
Method Detail |
---|
void saveState(java.lang.String sessionId, java.lang.String stateKey, org.sourceid.saml20.state.State state)
retrieveAndRemoveState(String)
). Also keep an association with
the session id in order to clean up any state that was orphaned by errant users.
sessionId
- the session id of the user that this state is associated with.stateKey
- the key against which the state is stored.state
- the state to store.org.sourceid.saml20.state.State retrieveAndRemoveState(java.lang.String stateKey)
stateKey
-
void cleanup(java.lang.String sessionId)
sessionId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |