Yes i had the below line in my shiro.ini.
[main]
ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm
ldapRealm.userDnTemplate = uid={0},ou=users,dc=mycompany,dc=com
ldapRealm.contextFactory.url = ldaps://ldap url:port
ldapRealm.contextFactory.systemUsername = cn=acc
ldapRealm.contextFactory.systemPassword=password
#securityManager.realms = $ldapRealm
After few tries, I commented this out and then tried in java code.
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Question-on-ldap-authentication-using-shiro-tp6867533p6868498.html
Sent from the Shiro User mailing list archive at Nabble.com.