--
https://apereo.github.io/cas/5.3.x/installation/JAAS-Authentication.html
I think CAS attempts to use another authentication support but I don't know why...
I have delete JAAS config and I put LDAP config.My pom.xml
<dependency><groupId>org.apereo.cas</groupId><artifactId>cas-server-support-ldap</artifactId><version>${cas.version}</version></dependency>My cas.properties
cas.authn.ldap[0].name=LDAPcas.authn.ldap[0].order=0cas.authn.ldap[0].ldapUrl=ldap://ad1.my.domain ldap://ad2.my.domaincas.authn.ldap[0].bindDn="cn=user-apereo-cas"cas.authn.ldap[0].baseDn="ou=application,dc=my,dc=domain"cas.authn.ldap[0].searchFilter="sAMAccountName={user}"cas.authn.ldap[0].type=ADcas.authn.ldap[0].dnFormat="%s...@MY.DOMAIN"cas.authn.ldap[0].principalAttributeList="sAMAccountName"cas.authn.ldap[0].useSsl=falseI have this error :
2019-10-11 16:22:04,823 DEBUG [org.apereo.cas.authentication.support.DefaultLdapAccountStateHandler] - <Attempting to handle LDAP account state for [[org.ldaptive.auth.AuthenticationResponse@690116111::authenticationResultCode=AUTHENTICATION_HANDLER_FAILURE, resolvedDn="kevinimbrechts@MY.DOMAIN", ldapEntry=[dn="kevinimbrechts@MY.DOMAIN"[]], accountState=null, result=false, resultCode=INVALID_CREDENTIALS, message=javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580], controls=null]]>Very strange...