Re: Struts2 on Geronimo: problem with roles

2009-01-06 Thread artoo
djencks wrote: > > Could you show us your web.xml and indicate the urls you are using to > test this with? > > thanks > david jencks > Hi, sorry for long time waiting. this is my web.xml file: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:we

Re: Struts2 on Geronimo: problem with roles

2008-12-21 Thread David Jencks
Could you show us your web.xml and indicate the urls you are using to test this with? thanks david jencks On Dec 18, 2008, at 6:26 AM, artoo wrote: Hi all, I have big problem with Struts (2.0.14) and Geronimo (2.1.3). When I use request.isUserInRole from Struts Action I always got "false

Struts2 on Geronimo: problem with roles

2008-12-18 Thread artoo
Hi all, I have big problem with Struts (2.0.14) and Geronimo (2.1.3). When I use request.isUserInRole from Struts Action I always got "false". I wrote simple Filter (linked before struts2 filter in web.xml). In that filter I have lines like: System.out.println("role: "+request.isUserInRole(...)