Skip to content

Commit

Permalink
chore: remove references to fed auth
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq committed Nov 29, 2024
1 parent 1be1f1f commit 6a46e0a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions driver/handle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,10 @@
* *
****************************************************************************/

#include "adfs_proxy.h"
#include "driver.h"
#include "efm_proxy.h"
#include "iam_proxy.h"
#include "mysql_proxy.h"
#include "okta_proxy.h"
#include "secrets_manager_proxy.h"

#include <mutex>
Expand Down Expand Up @@ -143,20 +141,6 @@ void DBC::init_proxy_chain(DataSource* dsrc)
}
}

if (dsrc->opt_FED_AUTH_MODE) {
const char* fed_auth_mode = (const char*)dsrc->opt_FED_AUTH_MODE;
if (!myodbc_strcasecmp(FED_AUTH_MODE_ADFS, fed_auth_mode)) {
CONNECTION_PROXY* adfs_proxy = new ADFS_PROXY(this, dsrc);
adfs_proxy->set_next_proxy(head);
head = adfs_proxy;
}
else if (!myodbc_strcasecmp(FED_AUTH_MODE_OKTA, fed_auth_mode)) {
CONNECTION_PROXY* okta_proxy = new OKTA_PROXY(this, dsrc);
okta_proxy->set_next_proxy(head);
head = okta_proxy;
}
}

this->connection_proxy = head;
}

Expand Down

0 comments on commit 6a46e0a

Please sign in to comment.