+1 with regards to implementing users in cookies you may want to look at SSO http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Single%20Sign%20On
HTH M- --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --------------------------------------------------------------------------- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. ----- Original Message ----- From: "Leon Rosenberg" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Saturday, December 23, 2006 9:48 AM Subject: Re: Basic Auth without modification to web.xml? > On 12/23/06, Gregor Schneider <[EMAIL PROTECTED]> wrote: >> Yes, there is something similar: >> >> http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html >> >> Take a look at RemoteAdressFilter and RemoteHostFilter. They grant >> access depending on the IP / adress. >> >> However, you will have to write your own filter to accomplish what you >> want. Taking a look ath the source-code of this filter might help. >> >> BUT: >> >> Since a filter can only evaluate information stored in the >> http-request, I'm not sure if it can be done, since the user is IMHO >> not part of the http-request. > > The "user" maybe not, but cookies or any kind of information stored in > the session are. > Leon > >> >> Just take a look at the sources, maybe they give you some ideas. >> >> Happy holidays! >> >> Greg >> -- >> what's puzzlin' you, is the nature of my game >> gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 >> gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >