users@glassfish.java.net

Re: secutiry roles set up using session variable

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 Jan 2009 10:30:08 PST

one question though...

are you sayinf that I should use database table to get the user type...my original question was how should I use usertype that is stored in a database table and restrict the resources based on the user...

you asked to just use

<role-name>admin</role-name>

but my question is usertype in my application is stored in a session variable...

can I say...

<role-name>mysessionvariable_usertype</role-name>

thanks

-Amor
[Message sent by forum member 'amorous' (amorous)]

http://forums.java.net/jive/thread.jspa?messageID=328438