forked from pool/mysql-connector-java
- Update to 8.0.29: Functionality added or changed: * Historically, MySQL has used utf8 as an alias for utf8mb3. Since release 8.0.29, utf8mb3 has become a recognized (though deprecated) character set on its own for MySQL Server. Therefore, Connector/J has added utf8mb3 to its character set mapping, and users are encouraged to update to Connector/J 8.0.29 to avoid potential issues when working with MySQL Server 8.0.29 or later. (Bug #33850155) * A new connection property socksProxyRemoteDns has been added, which, when set to true, makes the SocksProxySocketFactory execute its own connect() implementation that passes the unresolved InetSocketAddress of a MySQL Server host to the created proxy socket, instead of having the address resolved locally. (Bug #77924, Bug #25710160) * The code for prepared statements has been refactored to make the code simpler and the logic for binding more consistent between ServerPreparedStatement and ClientPreparedStatement. * Connector/J now supports Fast Identity Online (FIDO) Authentication. See Connecting Using Fast Identity Online (FIDO) Authentication for details. Bugs fixed: * X DevAPI: If the connection property xdevapi.ssl-mode was set to DISABLED (or xdevapi.ssl-mode was not set, but the value was picked up from the sslMode setting), specifying some of the security properties caused Connector/J to throw an error. With this fix, even when encryption is turned off and irrelevant security properties are set, Connector/J does not throw an error. * DatabaseMetaData.getDefaultTransactionIsolation() returned a OBS-URL: https://build.opensuse.org/request/show/973641 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=65
38 lines
3.1 KiB
Diff
38 lines
3.1 KiB
Diff
Index: mysql-connector-j-8.0.29/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
|
|
===================================================================
|
|
--- mysql-connector-j-8.0.29.orig/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
|
|
+++ mysql-connector-j-8.0.29/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
|
|
@@ -58,7 +58,6 @@ import com.mysql.cj.protocol.a.NativeCon
|
|
import com.mysql.cj.protocol.a.authentication.AuthenticationFidoClient;
|
|
import com.mysql.cj.protocol.a.authentication.AuthenticationKerberosClient;
|
|
import com.mysql.cj.protocol.a.authentication.AuthenticationLdapSaslClientPlugin;
|
|
-import com.mysql.cj.protocol.a.authentication.AuthenticationOciClient;
|
|
import com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin;
|
|
import com.mysql.cj.protocol.a.authentication.MysqlClearPasswordPlugin;
|
|
import com.mysql.cj.protocol.a.authentication.MysqlNativePasswordPlugin;
|
|
@@ -256,7 +255,6 @@ public class NativeAuthenticationProvide
|
|
pluginsToInit.add(new MysqlOldPasswordPlugin());
|
|
pluginsToInit.add(new AuthenticationLdapSaslClientPlugin());
|
|
pluginsToInit.add(new AuthenticationKerberosClient());
|
|
- pluginsToInit.add(new AuthenticationOciClient());
|
|
pluginsToInit.add(new AuthenticationFidoClient());
|
|
|
|
// plugins from authenticationPluginClasses connection parameter
|
|
Index: mysql-connector-j-8.0.29/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
|
|
===================================================================
|
|
--- mysql-connector-j-8.0.29.orig/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
|
|
+++ mysql-connector-j-8.0.29/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
|
|
@@ -50,12 +50,6 @@ AuthenticationLdapSaslClientPlugin.Missi
|
|
AuthenticationLdapSaslClientPlugin.FailCreateSaslClient=Failed creating a SASL client for the authentication mechanism ''{0}''.
|
|
AuthenticationLdapSaslClientPlugin.ErrProcessingAuthIter=Error while processing an authentication iteration for the authentication mechanism ''{0}''.
|
|
|
|
-AuthenticationOciClientPlugin.SdkNotFound=The OCI SDK could not be found or is not installed.
|
|
-AuthenticationOciClientPlugin.OciConfigFileError=OCI configuration file could not be read.
|
|
-AuthenticationOciClientPlugin.OciConfigFileMissingEntry=OCI configuration file does not contain a ''fingerprint'' or ''key_file'' entry.
|
|
-AuthenticationOciClientPlugin.PrivateKeyNotFound=Private key could not be found at location given by OCI configuration entry ''key_file''.
|
|
-AuthenticationOciClientPlugin.PrivateKeyNotValid=OCI configuration entry ''key_file'' does not reference a valid key file.
|
|
-
|
|
AuthenticationProvider.BadAuthenticationPlugin=Unable to load authentication plugin ''{0}''.
|
|
AuthenticationProvider.BadDefaultAuthenticationPlugin=Improper value "{0}" for property ''defaultAuthenticationPlugin''.
|
|
AuthenticationProvider.DefaultAuthenticationPluginIsNotListed=Default authentication plugin "{0}" is neither one of the built-in plugins nor one of the plugins listed in ''authenticationPlugins''.
|