switch (securityMechanism) { case NetConfiguration.SECMEC_USRIDPWD: // Clear text user id and password checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_USRENCPWD: // Clear text user, encrypted password checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_EUSRIDPWD: // Encrypted user, encrypted password checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_EUSRIDDTA: checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_EUSRPWDDTA: checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_USRSSBPWD: // Clear text user, strong password substitute checkUserPassword(user_, password);
switch (securityMechanism) { case NetConfiguration.SECMEC_USRIDPWD: // Clear text user id and password checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_USRENCPWD: // Clear text user, encrypted password checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_EUSRIDPWD: // Encrypted user, encrypted password checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_EUSRIDDTA: checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_EUSRPWDDTA: checkUserPassword(user_, password); resetConnectionAtFirstSql_ = true; setDeferredResetPassword(password); return true; case NetConfiguration.SECMEC_USRSSBPWD: // Clear text user, strong password substitute checkUserPassword(user_, password);
switch (securityMechanism) { case NetConfiguration.SECMEC_USRIDPWD: // Clear text user id and password checkUserPassword(user_, password); flowUSRIDPWDconnect(password); break; break; case NetConfiguration.SECMEC_USRENCPWD: // Clear text user, encrypted password checkUserPassword(user_, password); flowUSRENCPWDconnect(password); break; case NetConfiguration.SECMEC_EUSRIDPWD: // Encrypted user, encrypted password checkUserPassword(user_, password); flowEUSRIDPWDconnect(password); break; case NetConfiguration.SECMEC_EUSRIDDTA: checkUserPassword(user_, password); flowEUSRIDDTAconnect(); break; case NetConfiguration.SECMEC_EUSRPWDDTA: checkUserPassword(user_, password); flowEUSRPWDDTAconnect(password); break; case NetConfiguration.SECMEC_USRSSBPWD: // Clear text user, strong password substitute checkUserPassword(user_, password); flowUSRSSBPWDconnect(password); break;
switch (securityMechanism) { case NetConfiguration.SECMEC_USRIDPWD: // Clear text user id and password checkUserPassword(user_, password); flowUSRIDPWDconnect(password); break; break; case NetConfiguration.SECMEC_USRENCPWD: // Clear text user, encrypted password checkUserPassword(user_, password); flowUSRENCPWDconnect(password); break; case NetConfiguration.SECMEC_EUSRIDPWD: // Encrypted user, encrypted password checkUserPassword(user_, password); flowEUSRIDPWDconnect(password); break; case NetConfiguration.SECMEC_EUSRIDDTA: checkUserPassword(user_, password); flowEUSRIDDTAconnect(); break; case NetConfiguration.SECMEC_EUSRPWDDTA: checkUserPassword(user_, password); flowEUSRPWDDTAconnect(password); break; case NetConfiguration.SECMEC_USRSSBPWD: // Clear text user, strong password substitute checkUserPassword(user_, password); flowUSRSSBPWDconnect(password); break;