Examples of ResetPasswordDialog


Examples of org.apache.directory.studio.connection.ui.dialogs.ResetPasswordDialog

        String newMasterPassword = null;

        while ( true )
        {
            // We ask the user to reset his master password
            ResetPasswordDialog resetPasswordDialog = new ResetPasswordDialog( changeMasterPasswordButton.getShell(),
                "", null, null ); //$NON-NLS-1$

            if ( resetPasswordDialog.open() != ResetPasswordDialog.OK )
            {
                // The user cancelled the action
                return;
            }

            // Checking the password
            Exception checkPasswordException = null;
            try
            {
                if ( passwordsKeyStoreManager.checkMasterPassword( resetPasswordDialog.getCurrentPassword() ) )
                {
                    newMasterPassword = resetPasswordDialog.getNewPassword();
                    break;
                }
            }
            catch ( KeyStoreException e )
            {
View Full Code Here

Examples of org.apache.openmeetings.web.pages.auth.ResetPasswordDialog

  public ResetPage(PageParameters pp){
    String resetHash = pp.get(RESET_PARAM).toString();
    if (resetHash != null){
      Object user = Application.getBean(AdminUserDao.class).getUserByHash(resetHash);
      if (user instanceof User){
        add(new ResetPasswordDialog("resetPassword", (User)user));
      }else {
        setResponsePage(Application.get().getSignInPageClass());   
      }
    } else {
      setResponsePage(Application.get().getSignInPageClass());   
View Full Code Here

Examples of org.apache.openmeetings.web.pages.auth.ResetPasswordDialog

  public ResetPage(PageParameters pp){
    String resetHash = pp.get(RESET_PARAM).toString();
    if (resetHash != null){
      Object user = Application.getBean(UserDao.class).getUserByHash(resetHash);
      if (user instanceof User){
        add(new ResetPasswordDialog("resetPassword", (User)user));
      }else {
        setResponsePage(Application.get().getSignInPageClass());   
      }
    } else {
      setResponsePage(Application.get().getSignInPageClass());   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.