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?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218658
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to