currentluy not using anything i thought i configured it by code. On Sun, May 2, 2010 at 1:43 AM, Les Hazlewood-2 [via Shiro User] < [email protected]<ml-node%[email protected]> > wrote:
> Just defining the Realm in the [main] section of your INI config is > enough - it will automatically be detected and applied to the > SecurityManager instance. Are you using INI or another mechanism? > (Spring?) > > i.e. > > [main] > activeDirectoryRealm = > org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm > # because ActiveDirectoryRealm subclasses AbstractLdapRealm, > # you have access to those properties too: > #activeDirectoryRealm.systemUsername = foo > #activeDirectoryRealm.systemPassword = bar > # ... > > HTH, > > Les > > On Sat, May 1, 2010 at 11:25 AM, emaayan <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4991547&i=0>> > wrote: > > > > well, i allready know that, but i need more, code samples more docs, > would be > > nice.. > > -- > > View this message in context: > http://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p4990842.html > > > Sent from the Shiro User mailing list archive at Nabble.com. > > > > > ------------------------------ > View message @ > http://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p4991547.html > To unsubscribe from Re: how can i connect to windows Active Directory with > shiro?, click > here<http://shiro-user.582556.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=ZWxoLm1haWxnYXRlQGdtYWlsLmNvbXw0OTkwODQyfDExNTkyMDcyOA==>. > > > -- View this message in context: http://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p4992327.html Sent from the Shiro User mailing list archive at Nabble.com.
