What is the default Security Cache Expiry/Timeout

Hi,

I for the life of me cannot find out what the default value is for the eviction of items from Security cache. Does anyone know please?

Ideally, I’d like to know what the max lifetime of an entry is and whether cache entries are extended by a last access time. It looks like the resulting rights from the Authentication Settler seem to live in the cache from 5 to maybe 10 mins.

I’ll try to do some experiments in order to work it out but I’d really appreciate it if someone knows the cache config already to save me having to try to work it out :slight_smile:

I did look the infinispan config in WEB-INF but that didn’t seem to set idle/expiry values. In the code I can see 0 being used but wouldn’t that mean they don’t expire? I can’t seem to find defaults in the infinispan docs but maybe I’m looking in the wrong place.

Thanks in advance,
Alex

I don’t think there is any. It stays forever until it’s evicted by some modification or when the cache is full.

Ah ok, I guess I must have caused the cache to fill up in my last tests.

Thanks @tmortagne