Why do you have application yml and cas properties

El miércoles, 7 de febrero de 2018, Anthony O. <[email protected]> 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 [email protected].
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMY5micxX9gLha6yRwkDGEa2f1c0Esr8bFsyFpbwRpMgZaUqYQ%40mail.gmail.com.

Reply via email to