On 06/21/2011 08:11 AM, pranay wrote:
> Thanks for the excellent hint Jared, I should have figured that out. It
> worked after I added the filter for login as you suggested. Now I am playing
> with the Shiro Taglib to hide/show the sidebar menu items. A funny think I
> noticed was the absence of the logout functionality OOTB. 
I believe that OOTB logout functionality has been added in trunk (as a
filter). 
> Since this roo generated application uses Hypersoninc in memory database I
> am next going to try authentication against database. Any helpful tutorial
> for that?
Not a tutorial, but I would start by looking at the JDBC realm.  It
authenticates and authorizes against a very simple DB schema, but
modifying it to work with your app's schema should be fairly trivial. 
Take a look at the set*Query methods - you might even be able to get by
w/o writing your own realm and just setting those properties.
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/Newbie-question-on-Shiro-tp6499510p6499922.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to