This is great but how does one un-authorize people? (How to make browser show
the login box again?)
dave.
Nic Ferrier wrote:
> >>> Oliver Springauf <[EMAIL PROTECTED]> 5/6/99 12:21:01 PM
> >>>
> >couldn't I just let my
> >servlet do the authentication? I'm thinking about the basic HTTP
> >method, with "401" response and challenge
>
> Yes, you could.
>
> >Will my web server interfere with this? Has anyone tried this?
>
> Yes. I do it quite a lot.
>
> Check out the following link on my site:
>
> http://www.tapsellferrier.co.uk/Servlets/FAQ/authentication.html
>
> It will explain how to do just the servlet part.
>
> (there is a problem with the Base64 conversion I'll be posting a new
> one today some time so if you need the base64 bit wait till tonight or
> tommorow).
>
> Connecting to a database is easy too.
>
> You just try and open a Connection object with the username and
> password and if it doesn't raise an exception you've got an
> authenticated user.
>
> If you need anymore details let me know.
>
> Nic Ferrier
> Tapsell-Ferrier Ltd
> www.tapsellferrier.co.uk
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
--
David Mossakowski [EMAIL PROTECTED]
http://www.dwdog.com/styk 212.310.7275
"I don't sit idly by, I'm planning a big surprise"
F U G A Z I
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html