Class JaasContextTest
java.lang.Object
org.apache.kafka.common.security.JaasContextTest
Tests parsing of
SaslConfigs.SASL_JAAS_CONFIG property and verifies that the format
and parsing are consistent with JAAS configuration files loaded by the JRE.-
Constructor Details
-
JaasContextTest
public JaasContextTest()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
-
testConfigNoOptions
-
testControlFlag
-
testSingleOption
-
testMultipleOptions
-
testQuotedOptionValue
-
testQuotedOptionName
-
testMultipleLoginModules
-
testMissingLoginModule
-
testMissingControlFlag
-
testMissingOptionValue
-
testMissingSemicolon
-
testNumericOptionWithoutQuotes
-
testInvalidControlFlag
-
testDisallowedLoginModulesSystemProperty
-
testAllowedJNDIPropertiesInJaasConfig
-
testNumericOptionWithQuotes
-
testLoadForServerWithListenerNameOverride
- Throws:
IOException
-
testLoadForServerWithListenerNameAndFallback
- Throws:
IOException
-
testLoadForServerWithWrongListenerName
- Throws:
IOException
-
testListenerSaslJaasConfig
-