333334335336337338339340341342343
{ encodedPassword = ((AlgorithmUpgradeCredentialPasswordEncoder)encoder).encode(credential, password); } else { encodedPassword = encoder.encode(userName, password); } } if (!credential.getPassword().equals(encodedPassword)) { setPassword = true;