@Test
    void verifyKerbSysConfig() throws Throwable {
        val applicationContext = new StaticApplicationContext();
        applicationContext.refresh();

        val path = new ClassPathResource("kerb5.conf").getFile().getCanonicalPath();
        val loginConf = new ClassPathResource("jaas.conf").getFile().getCanonicalPath();

        val settings = new JcifsConfig.SystemSettings();
        settings.setKerberosDebug("true");
        settings.setKerberosConf("file:" + path);
        assertDoesNotThrow(() -> settings.initialize(applicationContext, "file:" + loginConf));
    }
This is {@link JcifsConfigTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-spnego/src/test/java/org/apereo/cas/support/spnego/authentication/handler/support/JcifsConfigTests.java