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

Constructor Index

 o Authenticator()

Method Index

 o changePassword(String, String, String, String)
changes a password for a given user.
 o checkPassword(String, String, String)
Checks the userid and password.
 o main(String[])

Constructors

 o Authenticator
 public Authenticator()

Methods

 o 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
 o 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
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index