This is what I am using in mine and it is working fine. Make sure you have the current version, I had problems with earlier versions: apereo/cas-services-management-overlay | | | | | |
| | | | | apereo/cas-services-management-overlay cas-services-management-overlay - Maven war overlay for CAS services management web application | | | | cas.server.name=https://...cas.server.prefix=${cas.server.name}/cas cas.mgmt.serverName=${cas.server.name} cas.mgmt.defaultLocale=en server.context-path=/cas-management server.port=8443 spring.thymeleaf.mode=HTML # Security cas.mgmt.adminRoles=ROLE_ADMIN cas.mgmt.userPropertiesFile=file:/etc/cas/config/users.properties # Service management cas.serviceRegistry.config.location=file:/etc/cas/services # Logging logging.config=file:/etc/cas/config/log4j2-management.xml On Thursday, April 13, 2017 5:31 PM, bobbintb <[email protected]> wrote: I got CAS configured with LDAP and working and now I am trying to get the management webapp working. I downloaded the Maven overlay, and added the LDAP dependency according to the documentation: <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-management-webapp-support-ldap</artifactId> <version>${cas.version}</version> </dependency> I built it and deployed the WAR to Tomcat but Tomcat will not start it. It keeps giving me this error: FAIL - Application at context path /cas-services could not be started FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas-services]] My CAS prefix is /cas-test and the management prefix is /cas-services. I left my management.properties mostly as is for the time being, just updating the existing values: cas.server.name: https://localhost:8443 cas.server.prefix: https://localhost:8443/cas-test cas.mgmt.adminRoles=ROLE_ADMIN cas.mgmt.userPropertiesFile=file:/etc/cas/config/users.properties cas.mgmt.serverName=https://localhost:8443 server.context-path=/cas-services server.port=8443 spring.thymeleaf.mode=HTML logging.config=file:/etc/cas/config/log4j2.xml My cas.properties is also pretty minimal for now: cas.server.name: https://localhost:8443 cas.server.prefix: https://localhost:8443/cas-test cas.adminPagesSecurity.ip=127\.0\.0\.1 logging.config: file:/etc/cas/config/log4j2.xml #LDAP connection info cas.authn.accept.users= cas.authn.ldap[0].type=AUTHENTICATED cas.authn.ldap[0].ldapUrl=ldaps://my.ldap.org:636 cas.authn.ldap[0].useSsl=true cas.authn.ldap[0].useStartTls=false cas.authn.ldap[0].connectTimeout=5000 cas.authn.ldap[0].baseDn=ou=active,ou=users,ou=data,o=org cas.authn.ldap[0].userFilter=cn={user} cas.authn.ldap[0].subtreeSearch=true cas.authn.ldap[0].usePasswordPolicy=true cas.authn.ldap[0].bindDn=cn=userproxy,ou=services,o=org cas.authn.ldap[0].bindCredential=***** I had a similar issue with CAS but that was due to an incorrect setting in the bindDn. I don't think any of my settings are incorrect or missing. Any suggestions?-- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- 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/b5cc0e3e-02c6-4fe9-95a0-287de422b121%40apereo.org. -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- 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/327219176.13014.1492120787181%40mail.yahoo.com.
