That's what I've done but I need a way to stop the users form accessing the html but bypassing the login pages. anyone could find the URL and enter it. I think I need to add some kind of variable for every page which means every page has to be a servlet and that's not a nice thing.
-----Original Message-----
From: Anjal Amin [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 04, 2000 12:40 AM
To: [EMAIL PROTECTED]
Subject: Re: Authentication
it IS pretty easy. pass in the id and password through a post through the
URL, have the servlet capture it and look it up in your database. If it the
id doesn't match, you have a non-registered user. If the id matches and the
password doesn't match, you have an invalid password. If both don't match,
redirect them to useless.newsreal.com
----- Original Message -----
From: Tim Panton - Westhawk Ltd <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 03, 2000 4:11 PM
Subject: Re: Authentication
> Nic Ferrier <[EMAIL PROTECTED]> wrote:
> __________
> >>>> "Schmidt, Allen J." <[EMAIL PROTECTED]> 02-Feb-00 1:28:26 PM
> >>>>
> >
> >>>-----Original Message-----
> >>>From: Maria Turk [mailto:[EMAIL PROTECTED]]
> >
> >>>Does anyone have an example servlet for authenticating people to a
> >database.
> >>>I'm creating one but I'm struggling at the moment.
> >
> >I've discussed this before on the list... do a search on the
> >archives.
> >
> >It's pretty easy really.
> >
> >
> >>Similar to this, I would like to find information and specific
> >examples on
> >>authenticating to an NT Domain User and Group list.
> >
> >This is harder and more interesting.
> >
> >There are 3 possible ways of doing it:
> >
> Here are a few more :
> 4) Get the database to do it. Oracle
> have a mode where it uses the OS
> authentication to check user id + password.
> 5) Get a web server that does it.
> Didn't JWS have a mode to do this?
> 6) Use LDAP
> 7) use DCom -that is try and create a com object on the user's behalf.
> You could do this via the MS JVM or
> using Jintegra.
>
> Tim
> ---
> URL http://www.westhawk.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
>
___________________________________________________________________________
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
