Apache CXF API

org.apache.cxf.rs.security.saml.sso.state
Interface SPStateManager

All Superinterfaces:
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
 void close()
           
 ResponseState getResponseState(String contextKey)
           
 RequestState removeRequestState(String relayState)
           
 ResponseState removeResponseState(String contextKey)
           
 void setRequestState(String relayState, RequestState state)
           
 void setResponseState(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:
close in interface Closeable
Throws:
IOException

Apache CXF API

Apache CXF