iaaf.function
Class SetupPwFunction

java.lang.Object
  |
  +--iaaf.function.IAAFFunction
        |
        +--iaaf.function.SetupPwFunction

public class SetupPwFunction
extends IAAFFunction

File: SetupPwFunction.java Description: This class is responsible for changing the password It extends the abstract class IAAFFunction and implements its abstract function performFunction(). Date: January 10, 2001 Copyright (c) 2001 IAAF team, UMass Boston

Version:
1.10
Author:
Durgesh Joshi

Constructor Summary
SetupPwFunction()
          class constructor
 
Method Summary
 java.lang.String performFunction(IAAFEnv env)
          It takes the userid, current password, new password and new retyped password as arguments.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupPwFunction

public SetupPwFunction()
class constructor
Method Detail

performFunction

public java.lang.String performFunction(IAAFEnv env)
                                 throws IAAFFunctionException
It takes the userid, current password, new password and new retyped password as arguments. Check the database against userid and current password. If not found return false else, check for the new password and new retyped password. If not same return false. If both are same, changes the current password to new password and return true;
Overrides:
performFunction in class IAAFFunction