shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iyya <kango...@gmail.com>
Subject Re: Question on ldap authentication using shiro
Date Fri, 07 Oct 2011 07:58:48 GMT
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.

Mime
View raw message