8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9772369 + 382acb7 commit a7ca232Copy full SHA for a7ca232
src/main/java/com/github/pgasync/impl/io/AuthenticationDecoder.java
@@ -47,6 +47,7 @@ public class AuthenticationDecoder implements Decoder<Authentication> {
47
48
static final int OK = 0;
49
static final int PASSWORD_MD5_CHALLENGE = 5;
50
+ static final int CLEARTEXT_PASSWORD = 3;
51
52
@Override
53
public byte getMessageId() {
@@ -59,6 +60,8 @@ public Authentication read(ByteBuffer buffer) {
59
60
switch (type) {
61
case OK:
62
return new Authentication(true, null);
63
+ case CLEARTEXT_PASSWORD:
64
+ return new Authentication(false, null);
65
case PASSWORD_MD5_CHALLENGE:
66
byte[] salt = new byte[4];
67
buffer.get(salt);
0 commit comments