Fork me on GitHub

Session store (v4.0)

The WebContext is an abstraction do deal with the HTTP request and response.

To specifically deal with the session, it relies on a SessionStore which may be available via the getSessionStore method.

The SessionStore has the following methods:

For example, the JEEContext currently uses the JEESessionStore which relies on the JEE session. In Play, we have a specific cache-based PlayCacheSessionStore as well as in Knox, which has a cookie-based KnoxSessionStore.

The ProfileStorageDecision defines the decisions related to the profile, whether we must read it from and save it into the web session. It is used by the DefaultSecurityLogic: