File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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
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

[This message has been edited by mohit joshi (edited November 19, 2000).]
I agree. Here's the link:
subject: Password Validation