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

pshaktig do-not-reply at jboss.com
Tue Mar 18 08:14:43 EDT 2008


Hi Matthieu,

Thanks for your solution. My portlet got secured. This is what I did in my portlet-instances.xml:


   
   <if-exists>overwrite</if-exists>
      
         <instance-id>AJAXSearchViewerPortletInstance</instance-id>
         <portlet-ref>AJAXSearchViewerPortlet</portlet-ref>
		  <security-constraint>
            <policy-permission>
               <role-name>Admin</role-name>
               <action-name>view</action-name>
            </policy-permission>
         </security-constraint>
      
	  
   


What if I want to make the page secured? What entries do I need to make? 

Thanks,
Shakti

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

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



More information about the jboss-user mailing list