The moose likes Oracle/OAS and the fly likes Very urgent question.Need immidiate help. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "Very urgent question.Need immidiate help." Watch "Very urgent question.Need immidiate help." New topic
Author

Very urgent question.Need immidiate help.

Samira Mastali
Ranch Hand

Joined: Aug 03, 2001
Posts: 74
Hi Folks,
I am writing a java program which is using Oracle as the database.I have a change password section inside the GUI whihc asks for the old password and should compare it with the existing password insdie the table and compare them.As I know the password inside the table is enrypted.So, how my program can compare the password which is getting from user with that one insdie the table.
I appreciate any help on this.
Regards,
Samira
Syam Veerakumar
Ranch Hand

Joined: Sep 20, 2001
Posts: 49
I am not sure what do you mean but if you want to compare the password which is in the database with the one(old password) given by the user,
do the following steps,
1.Get the password from the database as a String
and store it in a variable.
2.Compare that variable with the one entered by
user.
3.If both are same update the column with the new
password.
4.If not send an error message.


A Quitter Never Wins<br />A Winner Never Quits
 
 
subject: Very urgent question.Need immidiate help.
 
Threads others viewed
there is a form, but unable to test the login page.
Struts two filed comparison
Login
enum confusion
connecting to MS Access 97
developer file tools