Package org.forgerock.http.session
Interface SessionManager
-
@Deprecated public interface SessionManager
Deprecated.A SessionFactory is responsible to create a new type ofSession
.This allows users to extends the default OpenIG behaviour quite easily.
- See Also:
as a replacement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Session
load(Request request)
Deprecated.Loads a new Session for the givenRequest
.void
save(Session session, Response response)
Deprecated.Saves the session into the provided response.
-
-
-
Method Detail
-
load
Session load(Request request)
Deprecated.Loads a new Session for the givenRequest
. The implementations are free to keep a reference to theRequest
.The session object is scoped by the
Request
's own lifecycle.- Parameters:
request
- Request to create a session for.- Returns:
- a new Session instance.
-
save
void save(Session session, Response response) throws IOException
Deprecated.Saves the session into the provided response.- Parameters:
session
- The session to save.response
- The response to save the session to.- Throws:
IOException
- If the session could not be saved to the response.
-
-