Skip to content

Commit

Permalink
Change default of gssEncMode to ALLOW. PostgreSQL can deal with PREFE…
Browse files Browse the repository at this point in the history
…R but there are cloud providers that did not implement the protocol properly
  • Loading branch information
davecramer committed Oct 2, 2020
1 parent 0c2858e commit 14c4173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgjdbc/src/main/java/org/postgresql/jdbc/GSSEncMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static GSSEncMode of(Properties info) throws PSQLException {
String gssEncMode = PGProperty.GSS_ENC_MODE.get(info);
// If gssEncMode is not set, fallback to prefer

This comment has been minimized.

Copy link
@captainju

captainju Oct 10, 2020

// If gssEncMode is not set, fallback to allow

This comment has been minimized.

Copy link
@davecramer

davecramer Oct 10, 2020

Author Member

thanks, I will update the comment

if (gssEncMode == null) {
return PREFER;
return ALLOW;
}

for (GSSEncMode mode : VALUES) {
Expand Down

0 comments on commit 14c4173

Please sign in to comment.