Set cas.authn.policy.req.handlername=ldapAuthenticationHandler to 
cas.authn.policy.req.handlername=LdapAuthenticationHandler…or turn off the 
required authn policy and use any. 

-- 
Misagh

From: Jeffrey Ramsay <[email protected]>
Reply: Jeffrey Ramsay <[email protected]>
Date: September 10, 2016 at 12:54:16 AM
To: CAS Community <[email protected]>
Subject:  [cas-user] Re: ldapAuthenticationHandler  

My logs are attached.

Thanks.

On Thursday, September 8, 2016 at 5:34:13 PM UTC-4, Jeffrey Ramsay wrote:
Ok. I tried to follow the link to setup LDAP authentication and it's not 
working.

https://apereo.github.io/cas/development/installation/Configuration-Properties.html#ldap-authentication

I configured the following in cas.properties but I'm not sure if I'm on the 
right path:

##
# CAS Authentication Policy
#
cas.authn.policy.any.tryall=false
cas.authn.policy.req.tryall=true
cas.authn.policy.req.handlername=ldapAuthenticationHandler
#cas.authn.policy.req.handlername=org.apereo.cas.authentication.LdapAuthenticationHandler
cas.authn.policy.req.enabled=true

##
# Ldap Authentication
#
cas.authn.accept.users=
cas.authn.ldap[0].ldapUrl=ldap://localhost:389
cas.authn.ldap[0].useSsl=false
cas.authn.ldap[0].useStartTls=false
cas.authn.ldap[0].connectTimeout=5000

I don't know how to configure the deployerConfigContext.xml if that's even 
needed at all. I found an overlay someone uploaded and it had something along 
these lines but it's not correct.

       <util:map id="authenticationHandlersAndResolvers">
            <entry key-ref="ldapAuthenticationHandler" value-ref="#{null}" />
       </util:map>

Any help would be most appreciated.

-Jeff
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a522dea0-415f-4fe7-b670-1d802a2d61cb%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57d32333.7c0fc192.113f2%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to