Re: Is there a way to get access to request object without servlet?

2007-01-19 Thread Pid
Caldarale, Charles R wrote: From: Libor Arndt [mailto:[EMAIL PROTECTED] Subject: Is there a way to get access to request object without servlet? I need to have access to request in a JAAS logim module. Is there something similar in Tomcat like in JBosss: If you're trying to implement

RE: Is there a way to get access to request object without servlet?

2007-01-19 Thread Caldarale, Charles R
> From: Libor Arndt [mailto:[EMAIL PROTECTED] > Subject: Is there a way to get access to request object > without servlet? > > I need to have access to request in a JAAS logim module. > Is there something similar in Tomcat like in JBosss: You should be able to configure a

Re: Is there a way to get access to request object without servlet?

2007-01-19 Thread Reinhard Moosauer
Hi, JBoss implements this with ThreadLocal-Variables. Tomcat does not use them like JBoss, but you can quite easily do it by yourself. see java.lang.ThreadLocal There may be pitfalls, mainly caused by the very limited lifetime of a request object. But for a loginModule this could be appropriate

Is there a way to get access to request object without servlet?

2007-01-19 Thread Libor Arndt
I need to have access to request in a JAAS logim module. Is there something similar in Tomcat like in JBosss: PolicyContext.getContext(key)? thanks a lot for any advice - To start a new topic, e-mail: users@tomcat.apache.org To