snowflakedb / snowflake-jdbc

Snowflake JDBC Driver
Apache License 2.0
173 stars 164 forks source link

SNOW-732360: Allow connection caching to be disabled by user #1845

Closed sfc-gh-ext-simba-jf closed 1 month ago

sfc-gh-ext-simba-jf commented 2 months ago

Overview

SNOW-732360

Pre-review self checklist

External contributors - please answer these questions before submitting a pull request. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Issue: #NNNN

  2. Fill out the following pre-review checklist:

    • [ ] I am adding a new automated test(s) to verify correctness of my new code
    • [ ] I am adding new logging messages
    • [ ] I am modifying authorization mechanisms
    • [ ] I am adding new credentials
    • [ ] I am modifying OCSP code
    • [ ] I am adding a new dependency or upgrading an existing one
    • [ ] I am adding new public/protected component not marked with @SnowflakeJdbcInternalApi (note that public/protected methods/fields in classes marked with this annotation are already internal)
  3. Please describe how your code solves the related issue.

Added new connection parameters: clientStoreTemporaryCredential -> default true clientRequestMfaToken -> default true To allow user to disable connection caching on windows and mac osx