1 Reply Latest reply on Feb 29, 2004 8:58 AM by Scott Stark

    Server (physical) role declaration

    Yaakov Chaikin Newbie

      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.