Skip to content

Commit 72d7e2f

Browse files
author
chengyitian
committed
AJ-846: try scram login first, if failed use normal login quietly;
1 parent 58cbc08 commit 72d7e2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/com/xxdb/DBConnection.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ private void login(String userId, String password, boolean enableEncryption) thr
300300
}
301301
} else {
302302
try {
303+
// try scram login first, if failed use normal login quietly
304+
scramLogin();
303305
this.encrypted_ = enableEncryption;
304306
login();
305307
} finally {

0 commit comments

Comments
 (0)