You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2020/03/24 20:02:06 UTC
[atlas] branch master updated: ATLAS-3666: updated file-based
authentication to use BCrypt - #2
This is an automated email from the ASF dual-hosted git repository.
madhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 7601107 ATLAS-3666: updated file-based authentication to use BCrypt - #2
7601107 is described below
commit 76011077145d0eb6c8d683ffc7ceee6614ba2573
Author: Madhan Neethiraj <ma...@apache.org>
AuthorDate: Tue Mar 24 12:17:25 2020 -0700
ATLAS-3666: updated file-based authentication to use BCrypt - #2
---
.../src/main/java/org/apache/atlas/util/CredentialProviderUtility.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java b/webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java
index 51b5e6d..799edb9 100755
--- a/webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java
+++ b/webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java
@@ -174,7 +174,7 @@ public class CredentialProviderUtility {
while (true) {
char[] passwd1 = textDevice.readPassword("Please enter the password value for %s:", key);
char[] passwd2 = textDevice.readPassword("Please enter the password value for %s again:", key);
- boolean isMatch = !Arrays.equals(passwd1, passwd2);
+ boolean isMatch = Arrays.equals(passwd1, passwd2);
if (!isMatch) {
textDevice.printf("Password entries don't match. Please try again.\n");