-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Timestream authentication methods (#2)
* Replaced aws-profile, iam, aad and okta with default authentication. * Delete aad_credentials_provider(h,cpp) source files. * Delete okta_credentials_provider(h,cpp) source files. * Delete saml_credentials_provider(h,cpp) source files. * Remove commented out code from test_conn.cpp. * Remove commented out code from dlg_specific.h. * Remove commented out code from dlg_wingui.c. * Remove commented out code from drvconn.c. * Remove commented out code from odbc.h. * Remove commented out code from odbc_communication.cpp * Remove commented out code from odbc_communication.h * Remove commented out code from resource.h. * Remove commented out code from setup.c. * Change 'AUTHMODE_CNT' for 4 to 1. * Remove extra line with 4 trailing white spaces. * Set DEFAULT_AUTHTYPE to equal AUTHTYPE_DEFAULT. * Remove 'IDC_TOKEN_STATIC' and 'IDC_TOKEN'. * Bug fix: declare pwdp variable inside hide_password function. * Implement SetDlgStuff and GetDlgStuff for default authentication method. * In dconn_FDriverConnectProc function, for default authentication set focus to user item. * In SetDlgStuff function wrap pwd in SAFE_NAME macro. * Remove remaining commented out code.
- Loading branch information
1 parent
37a4562
commit 20d95e8
Showing
25 changed files
with
85 additions
and
1,666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,8 @@ | ||
[ODBC Data Sources] | ||
timestream-iam = Amazon Timestream ODBC Driver 32 | ||
timestream-aws-profile = Amazon Timestream ODBC Driver 32 | ||
timestream-aad = Amazon Timestream ODBC Driver 32 | ||
timestream-okta = Amazon Timestream ODBC Driver 32 | ||
timestream-default = Amazon Timestream ODBC Driver 32 | ||
|
||
[timestream-aws-profile] | ||
[timestream-default] | ||
Driver = Amazon Timestream ODBC Driver 32 | ||
Region = us-east-1 | ||
Auth = AWS_PROFILE | ||
|
||
[timestream-iam] | ||
Driver = Amazon Timestream ODBC Driver 32 | ||
Region = us-east-1 | ||
Auth = IAM | ||
Auth = DEFAULT | ||
UID = | ||
PWD = | ||
SessionToken = | ||
|
||
[timestream-aad] | ||
Driver = Amazon Timestream ODBC Driver 32 | ||
Region = us-east-1 | ||
Auth = AAD | ||
IdpName = AzureAD | ||
AADApplicationID = | ||
AADClientSecret = | ||
RoleARN = | ||
AADTenant = | ||
IdpARN = | ||
IdpUserName = | ||
IdpPassword = | ||
|
||
[timestream-okta] | ||
Driver = Amazon Timestream ODBC Driver 32 | ||
Region = us-east-1 | ||
Auth = OKTA | ||
IdpName = Okta | ||
IdpHost = | ||
OktaApplicationID = | ||
RoleARN = | ||
IdpARN = | ||
IdpUserName = | ||
IdpPassword = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,8 @@ | ||
[ODBC Data Sources] | ||
timestream-iam = Amazon Timestream ODBC Driver | ||
timestream-aws-profile = Amazon Timestream ODBC Driver | ||
timestream-aad = Amazon Timestream ODBC Driver | ||
timestream-okta = Amazon Timestream ODBC Driver | ||
timestream-default = Amazon Timestream ODBC Driver | ||
|
||
[timestream-aws-profile] | ||
[timestream-default] | ||
Driver = Amazon Timestream ODBC Driver | ||
Region = us-east-1 | ||
Auth = AWS_PROFILE | ||
|
||
[timestream-iam] | ||
Driver = Amazon Timestream ODBC Driver | ||
Region = us-east-1 | ||
Auth = IAM | ||
Auth = DEFAULT | ||
UID = | ||
PWD = | ||
SessionToken = | ||
|
||
[timestream-aad] | ||
Driver = Amazon Timestream ODBC Driver | ||
Region = us-east-1 | ||
Auth = AAD | ||
IdpName = AzureAD | ||
AADApplicationID = | ||
AADClientSecret = | ||
RoleARN = | ||
AADTenant = | ||
IdpARN = | ||
IdpUserName = | ||
IdpPassword = | ||
|
||
[timestream-okta] | ||
Driver = Amazon Timestream ODBC Driver | ||
Region = us-east-1 | ||
Auth = OKTA | ||
IdpName = Okta | ||
IdpHost = | ||
OktaApplicationID = | ||
RoleARN = | ||
IdpARN = | ||
IdpUserName = | ||
IdpPassword = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,8 @@ | ||
[ODBC Data Sources] | ||
timestream-iam = Amazon Timestream ODBC Driver | ||
timestream-aws-profile = Amazon Timestream ODBC Driver | ||
timestream-aad = Amazon Timestream ODBC Driver | ||
timestream-okta = Amazon Timestream ODBC Driver | ||
timestream-default = Amazon Timestream ODBC Driver | ||
|
||
[timestream-aws-profile] | ||
[timestream-default] | ||
Driver = Amazon Timestream ODBC Driver | ||
Region = us-east-1 | ||
Auth = AWS_PROFILE | ||
|
||
[timestream-iam] | ||
Driver = Amazon Timestream ODBC Driver | ||
Region = us-east-1 | ||
Auth = IAM | ||
Auth = DEFAULT | ||
UID = | ||
PWD = | ||
SessionToken = | ||
|
||
[timestream-aad] | ||
Driver = Amazon Timestream ODBC Driver | ||
Region = us-east-1 | ||
Auth = AAD | ||
IdpName = AzureAD | ||
AADApplicationID = | ||
AADClientSecret = | ||
RoleARN = | ||
AADTenant = | ||
IdpARN = | ||
IdpUserName = | ||
IdpPassword = | ||
|
||
[timestream-okta] | ||
Driver = Amazon Timestream ODBC Driver | ||
Region = us-east-1 | ||
Auth = OKTA | ||
IdpName = Okta | ||
IdpHost = | ||
OktaApplicationID = | ||
RoleARN = | ||
IdpARN = | ||
IdpUserName = | ||
IdpPassword = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.