[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread PeterJ
See the discussions at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98753 and http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115712 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137467#4137467 Reply to the post : http://www.jboss.com/

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread pshaktig
Hi, When I put security constraints in *-object.xml in admin portlet I can see tha page has view permissions for Admin role. However when I open the page it is accessible to everyone. Evene overwrite<...> not working Please provide some pointers. Thanks, Shakti View the original post : http:/

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread pshaktig
Hi Matthieu, Thanks for your solution. My portlet got secured. This is what I did in my portlet-instances.xml: overwrite AJAXSearchViewerPortletInstance AJAXSearchViewerPortlet Admin view

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread matthieu.bouvais
You don't need to remove the "viewRecursive" action for the default portal. You can add this attribute into the portlet-instances.xml : | ... | | overwrite | | ... | | | | View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread den74
hi i got the same, it depends on the father permission. by default "vierecursive" is enabled to everyone, i had to change in view for any role and then i had the behaviour like you want View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137363#4137363 Reply to

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread pshaktig
Hi Matthieu, I did the same. But its not working. In portlet-insatances.xml made the entry you suggested. Do I need to disable viewrecursive action for the default portal? Thanks, Shakti View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137361#4137361 Reply t

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread matthieu.bouvais
Hi pshaktig, If you want to restrict the access to a portlet to the Admin role, you have to modify your portlet-instances.xml and change the action-name to "view". This will hide the portlet to all user who don't have the Admin role. You don't have to make it programmatically. View the original