Hi, i want to know how i should configure the Spring LDAP for to authenticate users in a web application.
My configuration is the below
<bean id="placeholderConfig" class="org.springframework.beans.factory.config.Pr opertyPlaceholderConfigurer">
<property name="location" value="/application/ldap.properties" />
</bean>
<bean id="contextSource" class="org.springframework.ldap.support.LdapContex tSource">
<property name="url" value="${url}" />
<property name="base" value="${base}" />
<property name="userName" value="${user}" />
<property name="password" value="${password}" />
</bean>
<bean id="ldapTemplate" class="org.springframework.ldap.LdapTemplate">
<constructor-arg ref="contextSource" />
</bean>
The problem is that with this configuration i can authenticate only a user. I want to authenticate dynamiclly users with theirs userNames and passwords, that's, custom authentication, but without using Acegi.
Can Someone show me some example about this?


Reply With Quote