diff --git a/src/test/java/com/microsoft/sqlserver/jdbc/KerberosTest.java b/src/test/java/com/microsoft/sqlserver/jdbc/KerberosTest.java index 5bbccc097..e874a44d1 100644 --- a/src/test/java/com/microsoft/sqlserver/jdbc/KerberosTest.java +++ b/src/test/java/com/microsoft/sqlserver/jdbc/KerberosTest.java @@ -105,8 +105,7 @@ public void testKerberosConnectionWithDefaultJaasConfig() { createKerberosConnection(connectionString); Configuration config = Configuration.getConfiguration(); - AppConfigurationEntry[] entries = config - .getAppConfigurationEntry(SQLServerDriverStringProperty.JAAS_CONFIG_NAME.getDefaultValue()); + AppConfigurationEntry[] entries = config.getAppConfigurationEntry("CLIENT_CONTEXT_NAME"); Assertions.assertNotNull(entries); Assertions.assertTrue(entries.length > 0); Assertions.assertEquals("com.sun.security.auth.module.Krb5LoginModule", entries[0].getLoginModuleName());