You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Frank Otto <ot...@delta-barth.de> on 2009/06/19 11:31:00 UTC

[JS2] can not define security-role-ref in portlet.xml

Hi,

I want to define a security role for my portlet in portlet.xml like this:

<security-role-ref>
	<role-name>MyRole</role-name>
         <role-link>MyRole</role-link>
</security-role-ref>

After deploying my portlet, I'm getting following error:

ERROR 2009-06-19 11:15:39,734 - JetspeedContainerServlet: initialization 
failed for Portlet Application at: /myPortlet
org.apache.jetspeed.components.portletregistry.RegistryException: Error 
starting portlet application myPortlet

Is the definition of roles in jetspeed 2 not possible?


kind regards,


Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org