edu.jhu.tmaj.client.shared
Class ChangePasswordDialog

java.lang.Object
  extended by edu.jhu.tmaj.client.shared.ChangePasswordDialog

public final class ChangePasswordDialog
extends java.lang.Object

A frame that allows users to change their password


Field Summary
static int MIN_NUMBER_OF_PASSWORD_CHARACTERS
           
static java.lang.String PASSWORD_REQUIREMENTS
           
 
Method Summary
static boolean changePassword(int userID, java.lang.String newPassword_plainText, boolean doNotVerifyPasswordMeetsConditions, java.awt.Component component)
          Sends a request to the database to change the password of a specified user.
static void displayDialog(UserBean userBean, java.awt.Component parent_component)
           
static boolean passwordMeetsConditions(java.lang.String newPassword)
          Returns true if the password is at least 6 characters, contains at least one number, and one letter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_NUMBER_OF_PASSWORD_CHARACTERS

public static final int MIN_NUMBER_OF_PASSWORD_CHARACTERS
See Also:
Constant Field Values

PASSWORD_REQUIREMENTS

public static final java.lang.String PASSWORD_REQUIREMENTS
See Also:
Constant Field Values
Method Detail

displayDialog

public static void displayDialog(UserBean userBean,
                                 java.awt.Component parent_component)

changePassword

public static boolean changePassword(int userID,
                                     java.lang.String newPassword_plainText,
                                     boolean doNotVerifyPasswordMeetsConditions,
                                     java.awt.Component component)
Sends a request to the database to change the password of a specified user.


passwordMeetsConditions

public static boolean passwordMeetsConditions(java.lang.String newPassword)
Returns true if the password is at least 6 characters, contains at least one number, and one letter