users@glassfish.java.net

Security Roles

From: bfscom <bloggingfromscratch_at_gmail.com>
Date: Sun, 18 Jan 2009 18:28:24 -0800 (PST)

Hello,

I have a question in security roles/groups. My web app authentication login
form/security is working well but I want to control the jsp pages depending
on the user Roles.

For example:

if Role == admin {
     //do this
} else {
    //do this
}

I tried the isUserInRole but it does not work. I use jdbc realm
authentication. Any suggestions? :)

-- 
View this message in context: http://www.nabble.com/Security-Roles-tp21535982p21535982.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.