Class BrokerJwtValidatorTest
java.lang.Object
org.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerTest
org.apache.kafka.common.security.oauthbearer.JwtValidatorTest
org.apache.kafka.common.security.oauthbearer.BrokerJwtValidatorTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class JwtValidatorTest
testEmptySections, testEmptyString, testMissingHeader, testMissingPayload, testMissingSignature, testNull, testWhitespace
-
Constructor Details
-
BrokerJwtValidatorTest
public BrokerJwtValidatorTest()
-
-
Method Details
-
testRsaEncryptionAlgorithm
-
testEcdsaEncryptionAlgorithm
-
testInvalidEncryptionAlgorithm
-
testMissingSubShouldBeValid
-
testIatNotRequiredButPresentInToken
-
testIatRequiredButNotPresentInToken
-
testJtiNotRequiredButPresentInToken
-
testJtiRequiredButNotPresentInToken
-
testAudNotRequiredButPresentInToken
-
testAudRequiredButNotPresentInToken
-
testRejectMissingIssuerClaimWhenExpectedIssuerSet
-
testConfigureFailsWhenExpectedIssuerUnset
-
testExpectedIssuerSet
-
testConfigureFailsWhenExpectedAudienceUnset
-
testRejectWrongAudienceWhenExpectedAudienceSet
-
testAllowUnverifiedAudience
-
testAllowUnverifiedIssuer
-
testAllowUnverifiedIssuerAndAudience
-
testConfigureFailsWhenNeitherExpectedSet
-