public interface SessionManager
Session
.
This allows users to extends the default OpenIG behaviour quite easily.
Modifier and Type | Method and Description |
---|---|
Session |
load(Request request)
Loads a new Session for the given
Request . |
void |
save(Session session,
Response response)
Saves the session into the provided response.
|
Session load(Request request)
Request
. The implementations
are free to keep a reference to the Request
.
The session object is scoped by the Request
's own lifecycle.
request
- Request to create a session for.void save(Session session, Response response) throws IOException
session
- The session to save.response
- The response to save the session to.IOException
- If the session could not be saved to the
response.Copyright © 2010-2018, ForgeRock All Rights Reserved.