Gus Kenion
171d724362
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=119
40 lines
3.5 KiB
Diff
40 lines
3.5 KiB
Diff
--- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
|
|
+++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
|
|
@@ -48,7 +48,6 @@ import com.mysql.cj.protocol.a.NativeCon
|
|
import com.mysql.cj.protocol.a.NativeConstants.StringSelfDataType;
|
|
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.AuthenticationOpenidConnectClient;
|
|
import com.mysql.cj.protocol.a.authentication.AuthenticationWebAuthnClient;
|
|
import com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin;
|
|
@@ -249,7 +248,6 @@ public class NativeAuthenticationProvide
|
|
pluginsToInit.add(new MysqlOldPasswordPlugin());
|
|
pluginsToInit.add(new AuthenticationLdapSaslClientPlugin());
|
|
pluginsToInit.add(new AuthenticationKerberosClient());
|
|
- pluginsToInit.add(new AuthenticationOciClient());
|
|
pluginsToInit.add(new AuthenticationWebAuthnClient());
|
|
pluginsToInit.add(new AuthenticationOpenidConnectClient());
|
|
|
|
--- a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
|
|
+++ b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
|
|
@@ -40,18 +40,6 @@ AuthenticationOpenidConnect.MissingIdTok
|
|
AuthenticationOpenidConnect.FailReadIdTokenFile=Failed reading the OpenID Identity Token file specified in the connection property ''idTokenFile''.
|
|
AuthenticationOpenidConnect.InvalidIdTokenFile=The file specified in the connection property ''idTokenFile'' contains an invalid OpenID Identity Token.
|
|
|
|
-AuthenticationOciClientPlugin.ConfigFileNotFound=OCI configuration file not found.
|
|
-AuthenticationOciClientPlugin.OciSdkNotFound=The OCI SDK cannot be found or it is not installed.
|
|
-AuthenticationOciClientPlugin.OciConfigFileError=The OCI configuration file cannot be read.
|
|
-AuthenticationOciClientPlugin.ProfileNotFound=The specified profile is not found in the OCI configuration file.
|
|
-AuthenticationOciClientPlugin.OciConfigFileMissingEntry=The OCI configuration file does not contain a ''fingerprint'' or ''key_file'' entry.
|
|
-AuthenticationOciClientPlugin.PrivateKeyNotFound=The private key cannot be found at the location referenced in the OCI configuration entry ''key_file''.
|
|
-AuthenticationOciClientPlugin.FailedReadingPrivateKey=Failed reading the private key file referenced in the OCI configuration entry ''key_file''.
|
|
-AuthenticationOciClientPlugin.PrivateKeyNotValid=The OCI configuration entry ''key_file'' does not reference a valid key file.
|
|
-AuthenticationOciClientPlugin.SecurityTokenFileNotFound=The security token file cannot be found at the location referenced in the OCI configuration entry ''security_token_file''.
|
|
-AuthenticationOciClientPlugin.SecurityTokenTooBig=Invalid security token file. File size above 10 KB.
|
|
-AuthenticationOciClientPlugin.FailedReadingSecurityTokenFile=Failed reading the security token file referenced in the OCI configuration entry ''security_token_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''.
|