Fork me on GitHub

Session store (v3.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 J2EContext currently uses the J2ESessionStore which relies on the J2E 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: