Hi Frank, I think you can look up the RoleSecurityTest demo portlet in /demo. There are some security-role-ref elements for the portlet in portlet.xml. You can also check the elements order in the portlet element.
Regards, Woonsan --- On Fri, 6/19/09, Frank Otto <[email protected]> wrote: > From: Frank Otto <[email protected]> > Subject: [JS2] can not define security-role-ref in portlet.xml > To: "Jetspeed Users List" <[email protected]> > Date: Friday, June 19, 2009, 11:31 AM > 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
