[jboss-user] [JBoss Portal] - problem by security-constraint for portlet-instance

Fuchs do-not-reply at jboss.com
Tue Mar 17 10:09:02 EDT 2009


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



More information about the jboss-user mailing list