Hi,
Thanks for your respond! If the request url is: http://localhost:8080/jetspeed/, and getServletName() return "default", TomcatGeronimoRealm will use this name and role to construct a
WebRoleRefPermission instance to be evaluated. Evaluation result is always false.
I think getServletName() should return "jetspeed", and then my configuration in web.xml can make JACC evaluation successfully.
- Jian Liao
On 12/30/05, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
2005/12/30, Jian Liao <[EMAIL PROTECTED]>:
> Hi all,
> I am running Jetspeed on
> geronimo-tomcat-j2ee-1.0-2005-12-22. My jetspeed web app
> context is jetspeed and I also have a servlet named "jetspeed" defined in
> web.xml. When there is request for url: http://localhost:8080/jetspeed/. The
> private method getServletName(Request request) defined in
> TomcatGeronimoRealm will return a "default" string, is that what it
> expects?(I know default is configured by tomcat,
> http://tomcat.apache.org/tomcat-5.5-doc/default-servlet.html)
> Why it does not return "jetspeed", I did have a servlet named that.
Hi,
I don't know the answer, but has it caused any trouble and that's why
you asked about it?
> - Jian Liao
Jacek
