diff --git a/src/main/java/org/mariadb/jdbc/internal/com/send/gssapi/GssUtility.java b/src/main/java/org/mariadb/jdbc/internal/com/send/gssapi/GssUtility.java index fbfd4cb5..1d54c2bd 100644 --- a/src/main/java/org/mariadb/jdbc/internal/com/send/gssapi/GssUtility.java +++ b/src/main/java/org/mariadb/jdbc/internal/com/send/gssapi/GssUtility.java @@ -13,19 +13,6 @@ public class GssUtility { * @return authentication method */ public static BiFunction getAuthenticationMethod() { - try { - //Waffle-jna has jna as dependency, so if not available on classpath, just use standard authentication - if (Platform.isWindows()) { - try { - Class.forName("waffle.windows.auth.impl.WindowsAuthProviderImpl"); - return (reader, packSeq) -> new WindowsNativeSspiAuthentication(reader, packSeq); - } catch (ClassNotFoundException cle) { - //waffle not in the classpath - } - } - } catch (Throwable cle) { - //jna jar's are not in classpath - } return (reader, packSeq) -> new StandardGssapiAuthentication(reader, packSeq); }