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. hope this helps R. Am Freitag, 19. Januar 2007 12:53 schrieb 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 unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Reinhard Moosauer IT Beratung --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]