Store (v6.2)
In some cases, a cache mechanism is required. In pac4j, this is defined by the Store concept.
It has the following methods:
- get: gets a value from the store
- set: sets a value in the store
- remove: removes a value (by its key) from the store.
It has only one default implementation using Guava: the GuavaStore. But you may provide your own if necessary.