2 Replies Latest reply on Mar 20, 2009 11:11 AM by Gabriel Muench

    problem by security-constraint for portlet-instance

    Gabriel Muench Newbie

      I like to give my portlet a role definition:

       <instance-id>PortletInstance</instance-id>
       <portlet-ref>Portlet</portlet-ref>
       <security-constraint>
       <policy-permission>
       <action-name>admin</action-name>
       <role-name>Admin</role-name>
       </policy-permission>
       <policy-permission>
       <action-name>view</action-name>
       <role-name>User</role-name>
       </policy-permission>
       </security-constraint>
       </instance>
      


      but i get this exception:

      Caused by: javax.faces.FacesException: javax.el.PropertyNotFoundException: /jsf/common/editSecurity.xhtml @29,48 value="#{auth.forRole[role]}": Property 'Admin' not found on type org.jboss.portal.core.admin.ui.AuthorizationBean$1
      


      I use jboss portal 2.7. Knows anyone what wrong here , please?