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 <o...@delta-barth.de> wrote:

> From: Frank Otto <o...@delta-barth.de>
> Subject: [JS2] can not define security-role-ref in portlet.xml
> To: "Jetspeed Users List" <jetspeed-user@portals.apache.org>
> 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: jetspeed-user-unsubscr...@portals.apache.org
> For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
> 
> 




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

Reply via email to