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 post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137351#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...