Hello CAS Community, I am upgrading CAS4.1 to CAS5.0.5 and have difficulty to configure LDAP. It would be appreciated if I can have better understanding from you.
I can not see LdapAuthenticationHandler works for authentication. Error log does not show LdapAuthenticationHandler actually works for authentication. >From CAS 4, we changed deployerConfigConext.xml to configure >PolicyBasedAuthenticationManger to use ldapAuthenticationHandler. I don't see >the configuration from CAS 5. So, I didn't change anything at >deployerConfigContext.xml. Unfortunately, my log does not show any work of ldapAuthenticationHandler by the time I attempt to login. The attached are my cas.properties (though it is not complete) and cas.log. 2017-06-05 11:53:54,944 DEBUG [org.apereo.cas.config.LdapAuthenticationConfiguration] - <Ldap authenticator configured with return attributes [] for ldaps://wdccusts01p.extusers.hub1.com:636 and baseDn cn=Users,dc=EXTUSERS,dc=hub1,dc=com > 2017-06-05 11:53:54,945 DEBUG [org.apereo.cas.config.LdapAuthenticationConfiguration] - <Password policy is enabled for ldaps://wdccusts01p.extusers.hub1.com:636. Constructing password policy configuration> 2017-06-05 11:53:54,987 DEBUG [org.apereo.cas.config.LdapAuthenticationConfiguration] - <Initializing ldap authentication handler...> 2017-06-05 11:53:54,987 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Initializing LDAP attribute configuration...> 2017-06-05 11:53:54,988 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Configured to retrieve principal id attribute uid> 2017-06-05 11:53:54,988 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <Configured to retrieve additional attributes [uid]> 2017-06-05 11:53:54,988 DEBUG [org.apereo.cas.authentication.LdapAuthenticationHandler] - <LDAP authentication entry attributes are uid> 2017-06-05 11:53:54,988 DEBUG [org.apereo.cas.config.LdapAuthenticationConfiguration] - <Ldap authentication for ldaps://wdccusts01p.extusers.hub1.com:636 is to delegate to principal resolvers for attributes> ............... 2017-06-05 11:58:36,529 WARN [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Authentication has failed. Credentials may be incorrect or CAS cannot find authentication handler that supports [dhs] of type [UsernamePasswordCredential], which suggests a configuration problem.> 2017-06-05 11:58:36,537 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN ============================================================= WHO: dhs WHAT: Supplied credentials: [dhs] ACTION: AUTHENTICATION_FAILED APPLICATION: CAS WHEN: Mon Jun 05 11:58:36 EDT 2017 CLIENT IP ADDRESS: 127.0.0.1 SERVER IP ADDRESS: 127.0.0.1 ============================================================= Thanks, Doe The information contained in this e-mail and any attachments is confidential and intended only for the recipient. If you are not the intended recipient, the information contained in this message may not be used, copied, or forwarded to third parties or otherwise distributed for any other purpose. Please notify the sender if you received this e-mail in error and delete the e-mail and its attachments promptly. Nothing in this e-mail may be used or deemed to form the basis of a contractual or any other legally binding obligation unless separately confirmed in writing by an authorized representative of ARMADA. -- - 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/7C27C94EB0F1AD41BB2FA62533E661E201DA7D0FF2%40MailS01P.hub1.com.
cas.log
Description: cas.log
cas.properties
Description: cas.properties
