type of authentication.
-Message d'origine-
De : Robert Bateman [mailto:[EMAIL PROTECTED]
Envoyé : lundi 16 août 2004 20:42
À : Tomcat Users List
Objet : Re: Customizing BASIC authentication
Someone please correct me if I'm wrong here...
Also be aware that non-protected page
Hi,
Thanks to you both, but my question is not so much about how
to get the user name in the request.
Instead, it's this: I need to use basic authentication (i.e. the browser
pops up the login), but then I need to run custom code to actually
check the login and password with an internal system, ins
Someone please correct me if I'm wrong here...
Also be aware that non-protected pages will not provide you with a value to
request.getRemoteUser(). I had assumed I could get the remote user from any
page once the user logged in, but it doesn't work as I expected. I believe
there *was* a bug r
You can use request.getRemoteUser() to obtain the username. The password
is not really accessible except by examining the http headers.
Jake
At 11:21 PM 8/13/2004 -0400, you wrote:
Hi all,
I've been spending the last few hours reading about realms,
valves, authenticators and the like, and I'm to