Store (v5.1)
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 storeset
: sets a value in the storeremove
: 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.