[keycloak-dev] User SPI cache policies

Stian Thorgersen sthorger at redhat.com
Mon Oct 31 01:48:06 EDT 2016


What about evict on authenticate (load from store when user authenticates)?
I think that would be the most useful policy.

Should we have the same type of policy support on the KC database?



On 28 October 2016 at 22:53, Bill Burke <bburke at redhat.com> wrote:

> You can now define cache policies per UserStorageProvider.
>
> * NO_CACHE - don't cache users loaded from this provider
>
> * MAX_LIFESPAN - max lifespan of user in cache
>
> * EVICT_DAILY - specify a time of day when the cache will be expired
> every day.
>
> * EVICT_WEEKLY - specify a day of the week and time of day when the
> cache will be expired.
>
>
> Bill
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>


More information about the keycloak-dev mailing list