@Test
    public void testControlFlag() throws Exception {
        LoginModuleControlFlag[] controlFlags = new LoginModuleControlFlag[] {
            LoginModuleControlFlag.REQUIRED,
            LoginModuleControlFlag.REQUISITE,
            LoginModuleControlFlag.SUFFICIENT,
            LoginModuleControlFlag.OPTIONAL
        };
        Map<String, Object> options = new HashMap<>();
        options.put("propName", "propValue");
        for (LoginModuleControlFlag controlFlag : controlFlags) {
            checkConfiguration("test.testControlFlag", controlFlag, options);
        }
    }
Tests parsing of {@link SaslConfigs#SASL_JAAS_CONFIG} property and verifies that the format
and parsing are consistent with JAAS configuration files loaded by the JRE.
clients/src/test/java/org/apache/kafka/common/security/JaasContextTest.java