Cas 5.2 OpenLDap notworking: authentication failure and sucess

54 views
Skip to first unread message

s 1

unread,
Feb 28, 2018, 3:25:34 AM2/28/18
to CAS Community
I config Cas 5.2 Authen user login by OpenLDap, but not working
My cas.properties:
cas.authn.accept.users=
cas.authn.ldap[0].type=AUTHENTICATED
cas.authn.ldap[0].ldapUrl=ldap://localhost:389
cas.authn.ldap[0].useSsl=false
cas.authn.ldap[0].baseDn=ou=Users,dc=xx-cas,dc=com
cas.authn.ldap[0].userFilter=uid={user}
cas.authn.ldap[0].bindDn=cn=Manager,dc=xx-cas,dc=com
cas.authn.ldap[0].bindCredential=xxxx

Log:
2018-02-28 13:43:09,886 DEBUG [org.apereo.cas.authentication.adaptive.DefaultAdaptiveAuthenticationPolicy] - <Adaptive authentication policy has authorized client [xxx.xxx.xxx.xxx] to proceed.>
2018-02-28 13:43:09,887 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2018-02-28 13:43:09,887 DEBUG [org.apereo.cas.web.support.WebUtils] - <Evaluating request to determine if warning cookie should be generated>
2018-02-28 13:43:09,889 DEBUG [org.apereo.cas.authentication.RegisteredServiceAuthenticationHandlerResolver] - <No specific authentication handlers are required for this transaction>
2018-02-28 13:43:09,890 DEBUG [org.apereo.cas.authentication.RegisteredServiceAuthenticationHandlerResolver] - <Authentication handlers used for this transaction are [HttpBasedServiceCredentialsAuthenticationHandler]>
2018-02-28 13:43:09,891 ERROR [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Authentication has failed. Credentials may be incorrect or CAS cannot find authentication handler that supports [test] of type [UsernamePasswordCredential].>

2018-02-28 13:43:09,893 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
WHO: test
WHAT: Supplied credentials: [test]
ACTION: AUTHENTICATION_SUCCESS
APPLICATION: CAS
WHEN: Wed Feb 28 13:43:09 GMT+07:00 2018
CLIENT IP ADDRESS: xxx.xxx.xxx

SERVER IP ADDRESS: xxx.xxx.xxx
>
2018-02-28 13:43:09,945 DEBUG [org.apereo.cas.web.view.CasReloadableMessageBundle] - <No properties file found for [classpath:custom_messages_en] - neither plain properties nor XML>
2018-02-28 13:43:09,947 DEBUG [org.apereo.cas.web.view.CasReloadableMessageBundle] - <No properties file found for [classpath:custom_messages] - neither plain properties nor XML>
2018-02-28 13:43:09,949 DEBUG [org.apereo.cas.web.view.CasReloadableMessageBundle] - <No properties file found for [classpath:messages_en] - neither plain properties nor XML>
2018-02-28 13:43:09,950 DEBUG [org.apereo.cas.web.view.CasReloadableMessageBundle] - <Re-caching properties for filename [classpath:messages] - file hasn't been modified>

Any pointers to this will be highly appreciated . Thanks.

Man H

unread,
Feb 28, 2018, 7:57:33 AM2/28/18
to cas-...@apereo.org
Log says

 - <Authentication handlers used for this transaction are [HttpBasedServiceCredentialsAut

Add LDAP support dependency
--
- 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 cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/6b17b820-db5e-44c3-9538-19014843ab2b%40apereo.org.
Reply all
Reply to author
Forward
0 new messages