Hi,

How should I indicate the url for my ldap server ?

Here is the beans I have in my applicationContext concerning ldap:


<bean id="securityManager"
class="org.apache.shiro.web.mgt.DefaultWebSecurityManager">
                <property name="realm" ref="myLdapRealm" />
                <property name="sessionMode" value="native" />
        </bean>

<bean id="myLdapRealm" class="org.apache.shiro.realm.ldap.JndiLdapRealm">
                <property name="url"
value="ldap://localhost:10389/dc=jbcppets,dc=com"/>
                <property name="userDnTemplate"
value="uid={0},ou=Groups,dc=jbcppets,dc=com" />
        </bean>


--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/What-is-the-configuration-for-ldap-authentication-with-spring-tp6656846p6656846.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to