Hi,
I know you can do this in Weblogic, so you should be able to do this in JBoss. Basically, I have security roles defined in web.xml. I want those logical role names mapped to physical role names on the server.
In weblogic, there is a weblogic.xml that goes with web.xml that has something like this:
<weblogic-web-app>
<security-role-assignment>
<role-name>manager</role-name>
<principal-name>Admin</principal-name>
</security-role-assignment>
<security-role-assignment>
<role-name>regularUser</role-name>
<principal-name>User</principal-name>
</security-role-assignment>
.....
What is the parallel in JBoss for this?
Thanks,
Yaakov.
This is done using JAAS. Read the following intro article on using JAAS with JBoss:
http://sourceforge.net/docman/display_doc.php?docid=18240&group_id=22866