I'm using form based declarative security using mysql database.
After the user logged in, I want to display different selections on the screen 
depending on the role the user has using jsp or servlet. 
I can get the username using request.getRemoteUser(), but is there any way 
that I can get user roles from a pre-defined variables or functions?
Or should I have to query the database again to know the role of the user ?
Or is there any way that I can set it up ?

Thank you for your help.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868391#3868391

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868391


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to