[jboss-user] [JBoss Portal] - ROLE-BASED Page display

yogessr do-not-reply at jboss.com
Thu Jul 26 05:23:01 EDT 2007


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.
 

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

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



More information about the jboss-user mailing list