hello all:
    After reading JAAS chapter of QuickStart and using DatabaseServerLoginModule for 
some time, I have two questions:

1.I'm a little confused with the concept "roleGroup", I think the table field can only 
be "Roles" or "CallerPrinciple" but what is the use of "CallerPrinciple" ? or I 
misunderstand something?

2.Now I have only one role "Student" and all ejbs and web resources permission are set 
to it. My simple question is: when I need to add another role "Teacher" and allow all 
teachers to access those ejbs and web resources permited to student, of couse some 
resource can be access by teacher and not by student, how can I make it in a easy way? 
I don't want to change my DDs(ejb-jar.xml...) and don't want to set every principle in 
many roles in DB table. 

OK, sorry for my tedious description. I just want to know how to "set one role also in 
another role"?

Appreciate for you help

Gene


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to