Interface SPStateManager
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
EHCacheSPStateManager,HTTPSPStateManager,MemorySPStateManager
public interface SPStateManager extends Closeable
SSO Service Provider State Manager. TODO: review the possibility of working with the Servlet HTTPSession instead; in that case it can be tricky to configure various containers (Tomcat, Jetty) to make sure the cookies are shared across multiple war contexts which will be needed if RequestAssertionConsumerService needs to be run in its own war file instead of having every application war on the SP side have a dedicated RequestAssertionConsumerService endpoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()ResponseStategetResponseState(String contextKey)RequestStateremoveRequestState(String relayState)ResponseStateremoveResponseState(String contextKey)voidsetRequestState(String relayState, RequestState state)voidsetResponseState(String contextKey, ResponseState state)
-
-
-
Method Detail
-
setRequestState
void setRequestState(String relayState, RequestState state)
-
removeRequestState
RequestState removeRequestState(String relayState)
-
setResponseState
void setResponseState(String contextKey, ResponseState state)
-
getResponseState
ResponseState getResponseState(String contextKey)
-
removeResponseState
ResponseState removeResponseState(String contextKey)
-
close
void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-