jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes Password Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Password Validation" Watch "Password Validation" New topic

Password Validation


Joined: Apr 11, 2000
Posts: 1
I want to validate the user and its password. I have a HTML file which asks for Userid and password. I want to validate the user and password through SSL Technique. I am using Java webServer.
I know that we have to create Digital Certificate and we have to use it. These are the ideas I have.
Problem is - How to achieve this? It would be great if someone can send me the Ideas along with code.
Thanks in advance.
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
To validate the userid and password you would need to compare them against a database or some file which contains a list of valid userid/password combinations. SSL is not really intended to perform "validation" but is really meant as a means of encrypting the data stream between the user and server.
Look at using servlets or JSP, and possibly JDBC (database) to get this functionality.
JFind - Your Java Resource www.jfind.com
mohit joshi
Ranch Hand

Joined: Sep 23, 2000
Posts: 243
have a look at this
mohit joshi
Ranch Hand

Joined: Sep 23, 2000
Posts: 243
have a look at this http://www.javaranch.com/ubb/Forum34/HTML/000234.html

[This message has been edited by mohit joshi (edited November 19, 2000).]
I agree. Here's the link: http://aspose.com/file-tools
subject: Password Validation
It's not a secret anymore!