SOLVED PROBLEM Le mercredi 10 avril 2019 08:19:25 UTC+2, Raphaël CHANE a écrit : > > Thanks Ray > > Le mardi 9 avril 2019 17:18:49 UTC+2, rbon a écrit : >> >> Raphael, >> >> Tomcat logs are in TOMCAT_HOME/logs. >> >> Ray >> >> On Tue, 2019-04-09 at 02:11 -0700, Raphaël CHANE wrote: >> >> hello, >> >> I am trying to get CAS to work with AD, but i've got this error on tomcat >> logs "<Authentication has failed. Credentials may be incorrect or CAS >> cannot find authentication handler that supports". I'm trying to see the >> cas logs but they are missing?? >> >> >> GNU nano 2.7.4 Fichier : >> log4j2.xml Modifié >> >> <?xml version="1.0" encoding="UTF-8" ?> >> <!-- Specify the refresh internal in seconds. --> >> <Configuration monitorInterval="5" packages="org.apereo.cas.logging"> >> <Properties> >> <!-- >> Default log directory is the current directory but that can be >> overridden with -Dcas.log.dir=<logdir> >> Or you can change this property to a new default >> --> >> <Property name="cas.log.dir" >/var/log/cas</Property> >> <!-- To see more CAS specific logging, adjust this property to >> info or debug or run server with -Dcas.log.leve=debug --> >> <Property name="cas.log.level" >debug</Property> >> </Properties> >> >> >> >> >> I did some research and saw that it was no longer necessary to use the >> deployerConfigContext.xml file with cas 5.3.x. >> >> here is my cas.properties and my pom.xml >> >> >> >> >> cas.server.name=https://casxxx.xx >> cas.server.prefix=${server.name}/cas >> >> #TGC Cookie >> cas.tgc.secure=true >> cas.tgc.crypto.signing.key=xxx >> cas.tgc.crypto.encryption.key=xxx >> >> cas.webflow.crypto.signing.key=xxx >> cas.webflow.crypto.encryption.key=xxx >> >> #LDAP >> cas.authn.accept.users= >> cas.authn.ldap[0].order=0 >> cas.authn.ldap[0].name=Active Directory >> cas.authn.ldap[0].type=AUTHENTICATED >> cas.authn.ldap[0].ldapUrl=ldaps://ldapxxx.xx >> cas.authn.ldap[0].validatePeriod=270 >> cas.authn.ldap[0].poolPassivator=NONE >> cas.authn.ldap[0].userFilter=uid={user} >> cas.authn.ldap[0].baseDn=ou=ldapusers,dc=xxx,dc=xxx,dc=xx >> cas.authn.ldap[0].dnFormat=uid=%s,ou=ldapusers,dc=ldap,dc=xxx,dc=xx >> cas.authn.ldap[0].bindCredential=&lPrAc1EedlI:0 >> >> >> logging.level.org.apereo=DEBUG >> >> >> >> >> cas.adminPagesSecurity.ip=127\.0\.0\.1 >> >> logging.config: file:/etc/cas/config/log4j2.xml >> >> >> >> pom.xml >> >> >> <dependency> >> <groupId>org.apereo.cas</groupId> >> >> <artifactId>cas-server-webapp${app.server}</artifactId> >> <version>${cas.version}</version> >> <type>war</type> >> <scope>runtime</scope> >> </dependency> >> <dependency> >> <groupId>org.apereo.cas</groupId> >> >> <artifactId>cas-server-support-json-service-registry</artifactId> >> <version>${cas.version}</version> >> </dependency> >> <dependency> >> <groupId>org.apereo.cas</groupId> >> <artifactId>cas-server-support-ldap</artifactId> >> <version>${cas.version}</version> >> </dependency> >> <!-- >> ...Additional dependencies may be placed here... >> --> >> </dependencies> >> >> >> >> kind regards, >> >> Raphael >> >> >>
-- - 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/6336649c-6734-4167-9d1a-3f9497708e97%40apereo.org.
