| 129 | } |
| 130 | |
| 131 | void Configuration::LoadDefaults() { |
| 132 | Set(FlightSqlConnection::DSN, DEFAULT_DSN); |
| 133 | Set(FlightSqlConnection::USE_ENCRYPTION, DEFAULT_ENABLE_ENCRYPTION); |
| 134 | Set(FlightSqlConnection::USE_SYSTEM_TRUST_STORE, DEFAULT_USE_CERT_STORE); |
| 135 | Set(FlightSqlConnection::DISABLE_CERTIFICATE_VERIFICATION, |
| 136 | DEFAULT_DISABLE_CERT_VERIFICATION); |
| 137 | } |
| 138 | |
| 139 | void Configuration::LoadDsn(const std::string& dsn) { |
| 140 | // Read keys before reading DSN to minimized unexpected behavior from ODBC driver |