Search code examples
ldapcas

CAS 5.2.4 cas.properties location


I'm using CAS 5.2.4, deployed on Tomcat 9.0.8, running on Windows 10. I want to connect to LDAP, but I don't know where the cas.properties has to be placed.

I have already placed it in :
C:\etc\cas
C:\etc\cas\config
'tomcat'\cas\etc\cas
'tomcat'\cas\WEB-INF\classes


Solution

  • Ok, the problem was that I changed the property spring.profiles.active, I set it as production, now I change it, again, to standalone.

    When the stand alone profile is active CAS search extra configurations in /etc/cas/config in particular the file standalone.properties.

    When the production profile is active CAS doen not search more configuration files, except if the spring cloud is configurated.