private static SpnegoProperties getProperties(final boolean principalWithDomainName, final boolean ntlmAllowed) {
        val prop = new SpnegoProperties();
        prop.setName(StringUtils.EMPTY);
        prop.setOrder(0);
        prop.setPrincipalWithDomainName(principalWithDomainName);
        prop.setNtlmAllowed(ntlmAllowed);
        return prop;
    }
@author Marc-Antoine Garrigue
@author Arnaud Lesueur
@since 4.2.0
support/cas-server-support-spnego/src/test/java/org/apereo/cas/support/spnego/authentication/handler/support/JcifsSpnegoAuthenticationHandlerTests.java