Apache CXF API

org.apache.cxf.rs.security.saml.sso.state
Class HTTPSPStateManager

java.lang.Object
  extended by org.apache.cxf.rs.security.saml.sso.state.HTTPSPStateManager
All Implemented Interfaces:
Closeable, SPStateManager

@Path(value="state")
public class HTTPSPStateManager
extends Object
implements SPStateManager


Constructor Summary
HTTPSPStateManager()
           
 
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)
           
 void setStateProvider(SPStateManager stateManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPSPStateManager

public HTTPSPStateManager()
Method Detail

setStateProvider

public void setStateProvider(SPStateManager stateManager)

setRequestState

@POST
@Path(value="/request/{relayState}")
@Consumes(value="application/xml")
public void setRequestState(@Encoded@PathParam(value="relayState")
                                               String relayState,
                                               RequestState state)
Specified by:
setRequestState in interface SPStateManager

removeRequestState

@DELETE
@Path(value="/request/{relayState}")
@Produces(value="application/xml")
public RequestState removeRequestState(@Encoded@PathParam(value="relayState")
                                                            String relayState)
Specified by:
removeRequestState in interface SPStateManager

setResponseState

@POST
@Path(value="/response/{contextKey}")
@Consumes(value="application/xml")
public void setResponseState(@Encoded@PathParam(value="contextKey")
                                                String contextKey,
                                                ResponseState state)
Specified by:
setResponseState in interface SPStateManager

getResponseState

@GET
@Path(value="/response/{contextKey}")
@Produces(value="application/xml")
public ResponseState getResponseState(@Encoded@PathParam(value="contextKey")
                                                        String contextKey)
Specified by:
getResponseState in interface SPStateManager

removeResponseState

@DELETE
@Path(value="/response/{contextKey}")
@Produces(value="application/xml")
public ResponseState removeResponseState(String contextKey)
Specified by:
removeResponseState in interface SPStateManager

close

@POST
@Path(value="close")
public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface SPStateManager
Throws:
IOException

Apache CXF API

Apache CXF