Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lilgreenbird committed Apr 22, 2021
1 parent 0041c40 commit a472328
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2355,6 +2355,8 @@ else if (0 == requestedPacketSize)
if (!state.equals(State.Closed))
this.close();
}

activeConnectionProperties.remove(SQLServerDriverStringProperty.TRUST_STORE_PASSWORD.toString());
}

return this;
Expand Down Expand Up @@ -2824,7 +2826,7 @@ private InetSocketAddress connectHelper(ServerPortPlaceHolder serverInfo, int ti
}

activeConnectionProperties.remove(SQLServerDriverStringProperty.CLIENT_KEY_PASSWORD.toString());

// We have successfully connected, now do the login. logon takes seconds timeout
executeCommand(new LogonCommand());
return inetSocketAddress;
Expand Down Expand Up @@ -4520,8 +4522,6 @@ final void processFedAuthInfo(TDSReader tdsReader, TDSTokenHandler tdsTokenHandl

aadPrincipalSecret = "";
activeConnectionProperties.remove(SQLServerDriverStringProperty.AAD_SECURE_PRINCIPAL_SECRET.toString());

activeConnectionProperties.remove(SQLServerDriverStringProperty.TRUST_STORE_PASSWORD.toString());
}

final class FedAuthTokenCommand extends UninterruptableTDSCommand {
Expand Down

0 comments on commit a472328

Please sign in to comment.