Thank you for this help Manfredo but as I said, I'm using CAS v5.2.1 & 
5.2.2 and this configuration parameter does not exist in this version 
: https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html

Moreover, the cas.authn.attributeRepository.merger is the same, and my 
"MERGE" value is not taken into account anyways (I can see that by using a 
breakpoint on 
org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesProperties#getMerger,
 
debugging my CAS server).

Le mercredi 7 février 2018 14:30:20 UTC+1, Manfredo Hopp a écrit :
>
> cas.authn.attributeRepository.expirationTime
>
>
>
> https://apereo.github.io/cas/development/installation/Configuration-Properties.html
>
> El miércoles, 7 de febrero de 2018, Anthony O. <aog...@iorga.com 
> <javascript:>> escribió:
>
>> 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!
>>
>> -- 
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to cas-user+u...@apereo.org <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/dfefc824-c82f-4683-bcf5-3078af88cf04%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/dfefc824-c82f-4683-bcf5-3078af88cf04%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f30a327b-f226-4e71-b072-4c3dad0df107%40apereo.org.

Reply via email to