Class ConfigurationUtilsTest
java.lang.Object
org.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerTest
org.apache.kafka.common.security.oauthbearer.internals.secured.ConfigurationUtilsTest
-
Constructor Details
-
ConfigurationUtilsTest
public ConfigurationUtilsTest()
-
-
Method Details
-
tearDown
-
testUrl
@Test public void testUrl() -
testUrlWithSuperfluousWhitespace
@Test public void testUrlWithSuperfluousWhitespace() -
testUrlCaseInsensitivity
@Test public void testUrlCaseInsensitivity() -
testUrlFile
@Test public void testUrlFile() -
testUrlFullPath
@Test public void testUrlFullPath() -
testUrlMissingProtocol
@Test public void testUrlMissingProtocol() -
testUrlInvalidProtocol
@Test public void testUrlInvalidProtocol() -
testUrlNull
@Test public void testUrlNull() -
testUrlEmptyString
@Test public void testUrlEmptyString() -
testUrlWhitespace
@Test public void testUrlWhitespace() -
testFile
- Throws:
IOException
-
testFileWithSuperfluousWhitespace
- Throws:
IOException
-
testFileDoesNotExist
@Test public void testFileDoesNotExist() -
testFileUnreadable
- Throws:
IOException
-
testFileNull
@Test public void testFileNull() -
testFileEmptyString
@Test public void testFileEmptyString() -
testFileWhitespace
@Test public void testFileWhitespace() -
testThrowIfURLIsNotAllowed
@Test public void testThrowIfURLIsNotAllowed() -
testThrowIfFileIsNotAllowed
@Test public void testThrowIfFileIsNotAllowed() -
testFipsValidationDisabled
@Test public void testFipsValidationDisabled() -
testFipsValidationEnabledWithInvalidMode
@Test public void testFipsValidationEnabledWithInvalidMode() -
testFipsValidationEnabledWithDefaultMode
@Test public void testFipsValidationEnabledWithDefaultMode() -
testFipsValidationEnabledWithExplicitMode
@Test public void testFipsValidationEnabledWithExplicitMode()
-