All Packages Class Hierarchy This Package Previous Next Index
Class sat.Authenticator
java.lang.Object
|
+----sat.Authenticator
- public class Authenticator
- extends Object
This class does the job of verifying userids and passwords.
- Author:
- Satyen Kale
-
Authenticator()
-
-
changePassword(String, String, String, String)
- changes a password for a given user.
-
checkPassword(String, String, String)
- Checks the userid and password.
-
main(String[])
-
Authenticator
public Authenticator()
checkPassword
public boolean checkPassword(String userid,
String password,
String event_id)
- Checks the userid and password.
- Parameters:
- userid - a user login id
- password - the password for the user
- Returns:
- true if the password matches, false otherwise
changePassword
public boolean changePassword(String userid,
String event_id,
String oldpass,
String newpass)
- changes a password for a given user.
- Parameters:
- userid - the user login id
- oldpass - the old password
- newpass - the new password
- Returns:
- true on success, false on failure
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index