[jboss-dev-forums] [Design of JBoss Portal] - securing portlets fails on redeploy

anu123suya do-not-reply at jboss.com
Tue Dec 26 00:29:51 EST 2006


Hi, 

I am facing problems in securing portlets.
The security constraint applied for the portlet instance 
on the first deployment works fine.

But when I try to change the security constraint and redeploy,
the security constraints are not updated. 
The portal shows only the first deployed security.

This doesn't change even after the restart of the server.

It works only if I clear the database and restart the server.

Am I missing some configuration parameters.

I don't face any such problems securing pages.

Here is my portlet-instances.xml


<?xml version="1.0" standalone="yes"?>

   
      
      

         <instance-id>MyPortletInstance</instance-id>
         <portlet-ref>MyPortlet</portlet-ref>
         <security-constraint>
            <policy-permission>
                 <role-name>NewRole</role-name>
               <action-name>view</action-name>
            </policy-permission>
         </security-constraint>
      
   



Please help

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

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



More information about the jboss-dev-forums mailing list