I'm writing a small web app to modify/maintain roles.properties and eventually have 
versions for database/ldap.

How do roles that aren't in "Roles" work? Are they even visible to the web tier? I'm 
using this test JSP:

<% out.println(request.isUserInRole("Role3")); %>
<% out.println(request.isUserInRole("Role2")); %>

And getting "false true" for the following roles.properties:

steve=Role2
steve.Application=Role3

So the first line defaults to "Roles" rolegroup. How do I check if the user is in 
Role3 or not? Is it in the Subject somewhere? If I need to I can look at the JBossSX 
source.

Thanks,

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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to