Fork me on GitHub

Session store (v5.7)

While the WebContext is related to the HTTP request and response, the SessionStore is an abstraction to deal with the web session.

It has the following methods:

Its implementations are different depending on the pac4j implementations.

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.