0 Replies Latest reply on Jul 26, 2007 5:23 AM by yogessr

    ROLE-BASED Page display

      Hi,

      I need to display the pages based on the roles defined in RoleTable which is in my database i.e. MySQL. MySQL has been configured with JBOSS Portal version 2.6.

      In my *-object.xml file if I specify My ROLE name as shown below,

      <security-constraint>
      <policy-permission>
      <role-name>MYROLE</role-name>
      <action-name>viewrecursive</action-name>
      </policy-permission>
      </security-constraint>

      then only those pages should be displayed according to which the user who belongs to MYROLE should see.

      Could anyone let me know as to how this can be done?

      Thanks in advance.