Hello,
I'm trying to disable the cache of my cas.authn.attributeRepository in order for the cas.authn.attributeRepository.jdbc to retrieve the attributes each time a user logs in and want the "merger" strategy to be "MERGE".
So in my /etc/cas/config/cas.properties I've set the following lines:
cas.authn.attributeRepository.expireInMinutes=0
cas.authn.attributeRepository.maximumCacheSize=0
cas.authn.attributeRepository.merger=MERGE
I have set the same lines in /etc/cas/config/application.yml .
After setting a breakpoint on org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesProperties#getExpireInMinutes as well as the set method: when the get method is called (just before com.github.benmanes.caffeine.cache.Caffeine#expireAfterWrite ), the field is always set with the default int 30.
I've checked also the 2 other fields, they are not set with what I set in my configuration files... I also define cas.authn.attributeRepository.jdbc[0] parameters which are taken into account (so that is not a settings file location problem)...
Is this a bug or I'm not using the right properties name for disabling the attributeRepository cache resolution?
I've tried this with CAS v5.2.1 & 5.2.2 with the same results.
Thank you for your help!