[jboss-user] [JBoss Portal] - Hiding of portlet

surajit2k2 do-not-reply at jboss.com
Mon Jan 22 08:06:04 EST 2007


Hi ,

    I have a portal page(Home) whose security policy as 
     
      <security-constraint>
            <policy-permission>
               
               <action-name>viewrecursive</action-name>
            </policy-permission>
         </security-constraint>

I have admin, HR , Telecom as roles defined. 

I want a portlet (in Home page) should not be visible when the user is not logged in.

As soon as a user having Role as HR logs in the porlet should be visible.
Again if a user with role Telecom logs in the portlet should not be visible.

I have found that in http://jira.jboss.com/jira/browse/JBPORTAL-405 URL that it should be possible. But I am not understanding which XML file setting should be changed. 

Please help me on the same.

regards
Surajit

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

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



More information about the jboss-user mailing list