Hi , 

I am a newbie to Shiro, and was trying to connect to my Ldap Server using
JndiLdapRealm to authenticate the user, The setting in my .ini file are as 

[main] 
ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm 
ldapRealm.userDnTemplate = email={0},ou=ORG,dc=my-domain,dc=com 
ldapRealm.contextFactory.url = ldap://localhost:389 
ldapRealm.contextFactory.systemUsername = cn=Manager,dc=my-domain,dc=com 
ldapRealm.contextFactory.systemPassword= [myLdapPassword] 
ldapRealm.contextFactory.authenticationMechanism = DIGEST-MD5 

It gives me Authentication connection : LDAP Connection failed

How and when is the userDnTemplate value passed and replaced with 0 at
runtime?

Thanks in advance,
Lester.



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Configuration-of-Ldap-with-shiro-using-JndiLdapRealm-tp7579183.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to