On Thu, 02 Oct 2014 15:36:10 -0400 Daniel Fisher <[email protected]> wrote:
> On Wed, Oct 1, 2014 at 11:45 AM, Alberto Cabello Sánchez > <[email protected]> wrote: > > Check it (I've modified sensitive data) at: > > > > http://pastebin.com/nZbEerm2 > > I didn't see anything telling in that log. > What does the rest of your configuration look like? > Particularly the connectionFactory bean. Other configurations are pretty the same I found at https://jasig.github.io/cas/4.0.0/installation/LDAP-Authentication.html, "LDAP Supporting Direct Bind" scenario: <bean id="dnResolver" class="org.ldaptive.auth.FormatDnResolver" c:format="cn=%s,${ldap.authn.baseDn}" /> <bean id="authHandler" class="org.ldaptive.auth.BindAuthenticationHandler" p:connectionFactory-ref="connectionFactory" /> <bean id="connectionFactory" class="org.ldaptive.DefaultConnectionFactory" p:connectionConfig-ref="connectionConfig" /> <bean id="connectionConfig" class="org.ldaptive.ConnectionConfig" p:ldapUrl="${ldap.url}" p:connectTimeout="${ldap.connectTimeout}" p:useStartTLS="${ldap.useStartTLS}" /> ldap.url=ldap://ldap_server_fqdn ldap.connectTimeout=3000 ldap.useStartTLS=false ldap.authn.baseDn=cn=Users,dc=unex,dc=es ldap.authn.searchFilter=(uid={user}) ldap.authn.format=cn=%s,cn=Users,dc=unex,dc=es Please bear in mind I'm quite confused because of changes from 3.5.2 to 4, but also because of my lack of Spring expertise. Thanks for your help. -- Alberto Cabello Sánchez <[email protected]> -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
