Hi Seme, You can use whatever datasource you like to store authorization information. In Shiro, this is often represented as two Realms configured for your application - One Realm for talking to LDAP just for authentication purposes and another Realm for talking to your datastore of choice just for authorization purposes.
Once you've tested your Realm used for Authorization needs, you can just add it to the configured Realms. For example, in shiro.ini: securityManager.realms = ldapAuthenticationRealm, mydatasourceAuthorizationRealm HTH! Cheers, -- Les Hazlewood CTO, Katasoft | http://www.katasoft.com | 888.391.5282 twitter: @lhazlewood | http://twitter.com/lhazlewood katasoft blog: http://www.katasoft.com/blogs/lhazlewood personal blog: http://leshazlewood.com On Thu, Dec 15, 2011 at 4:26 AM, seme <[email protected]> wrote: > New to shiro, I want to set up ldap authorization. I was able to > authenticate via ldap. > In shiro, where I can store my user authorization info and how I can > retrieve them? > > Any help or sample code will be appreciated. > > Thanks > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Shiro-and-LDAP-authorization-tp7096956p7096956.html > Sent from the Shiro User mailing list archive at Nabble.com.
