diff --git a/driver/handle.cc b/driver/handle.cc index 5f6386fd1..2e299b425 100644 --- a/driver/handle.cc +++ b/driver/handle.cc @@ -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 @@ -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; }