...
cas.authn.attribute-repository.core.expiration-time =
0
# ci-dessous par un CAS < 6.4 :
cas.authn.attributeRepository.expirationTime=0
Embedded tomcat
CAS utilisant spring-boot, il est possible d'exécuter directement le war. Par défaut CAS va alors utiliser l'embedded tomcat. Voici les paramètres importants, notamment si vous utiliser un reverse proxy en frontal :
server.port=8080
server.ssl.enabled=false
server.servlet.context-path=/cas
# NB : regular expression. Par défaut toutes les IPs locales sont trusted. Ref : https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto.webserver.use-behind-a-proxy-server.tomcat
server.tomcat.remoteip.internal-proxies=(193[.]55[.]96[.]|2001:660:3305:0:0:0:0:)24|0:0:0:0:0:0:0:1
# pour avoir des metrics via JMX (notamment tomcat.threads.busy & tomcat.threads.busy)
server.tomcat.mbeanregistry.enabled=true