Does a LDAP query return the user's info (command line or LDAP utility)

-Brian

> On Aug 27, 2015, at 4:23 AM, Gerard <[email protected]> wrote:
> 
> Hi,
> 
> I'm trying to use Shiro (version 1.2.3) in combination with LDAP in a Vaadin
> based web application, but experience trouble!
> 
> I started initially using the basic shiro.ini file without LDAP, and all
> that worked as expected.
> 
> But then I modified the shiro.ini file as follows:
> 
> ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm
> ldapRealm.userDnTemplate = uid={0},ou=users,dc=mydomain,dc=toplevel
> ldapRealm.contextFactory.url = ldap://ldapurl:389
> ldapRealm.contextFactory.authenticationMechanism = DIGEST-MD5
> 
> In my Java code nothing was changed, only the shiro file was modified.
> 
> However now I can't login , and don't get any exception or error message!
> 
> Is my approach basically wrong or what am I doing wrong?
> 
> Regards,
> Gerard
> 
> 
> 
> 
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/Shiro-and-LDAP-tp7580672.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to