public class EHCacheSPStateManager extends Object implements SPStateManager
Modifier and Type | Field and Description |
---|---|
static String |
REQUEST_CACHE_KEY |
static String |
RESPONSE_CACHE_KEY |
Constructor and Description |
---|
EHCacheSPStateManager() |
EHCacheSPStateManager(Bus bus) |
EHCacheSPStateManager(String configFileURL) |
EHCacheSPStateManager(String configFile,
Bus bus) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ResponseState |
getResponseState(String securityContextKey) |
RequestState |
removeRequestState(String relayState) |
ResponseState |
removeResponseState(String securityContextKey) |
void |
setRequestState(String relayState,
RequestState state) |
void |
setResponseState(String securityContextKey,
ResponseState state) |
public static final String REQUEST_CACHE_KEY
public static final String RESPONSE_CACHE_KEY
public EHCacheSPStateManager() throws IllegalAccessException, InstantiationException, ClassNotFoundException
public EHCacheSPStateManager(Bus bus) throws IllegalAccessException, InstantiationException, ClassNotFoundException
public EHCacheSPStateManager(String configFileURL) throws IllegalAccessException, InstantiationException, ClassNotFoundException
public EHCacheSPStateManager(String configFile, Bus bus) throws IllegalAccessException, ClassNotFoundException, InstantiationException
public ResponseState getResponseState(String securityContextKey)
getResponseState
in interface SPStateManager
public ResponseState removeResponseState(String securityContextKey)
removeResponseState
in interface SPStateManager
public void setResponseState(String securityContextKey, ResponseState state)
setResponseState
in interface SPStateManager
public void setRequestState(String relayState, RequestState state)
setRequestState
in interface SPStateManager
public RequestState removeRequestState(String relayState)
removeRequestState
in interface SPStateManager
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface SPStateManager
IOException
Apache CXF