Class ClaimValidationUtilsTest

java.lang.Object
org.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerTest
org.apache.kafka.common.security.oauthbearer.ClaimValidationUtilsTest

public class ClaimValidationUtilsTest extends OAuthBearerTest
  • Constructor Details

    • ClaimValidationUtilsTest

      public ClaimValidationUtilsTest()
  • Method Details

    • testValidateScopes

      @Test public void testValidateScopes()
    • testValidateScopesDisallowsDuplicates

      @Test public void testValidateScopesDisallowsDuplicates()
    • testValidateScopesDisallowsEmptyNullAndWhitespace

      @Test public void testValidateScopesDisallowsEmptyNullAndWhitespace()
    • testValidateScopesResultIsImmutable

      @Test public void testValidateScopesResultIsImmutable()
    • testValidateScopesResultThrowsExceptionOnMutation

      @Test public void testValidateScopesResultThrowsExceptionOnMutation()
    • testValidateExpiration

      @Test public void testValidateExpiration()
    • testValidateExpirationAllowsZero

      @Test public void testValidateExpirationAllowsZero()
    • testValidateExpirationDisallowsNull

      @Test public void testValidateExpirationDisallowsNull()
    • testValidateExpirationDisallowsNegatives

      @Test public void testValidateExpirationDisallowsNegatives()
    • testValidateSubject

      @Test public void testValidateSubject()
    • testValidateSubjectDisallowsEmptyNullAndWhitespace

      @Test public void testValidateSubjectDisallowsEmptyNullAndWhitespace()
    • testValidateClaimNameOverride

      @Test public void testValidateClaimNameOverride()
    • testValidateClaimNameOverrideDisallowsEmptyNullAndWhitespace

      @Test public void testValidateClaimNameOverrideDisallowsEmptyNullAndWhitespace()
    • testValidateIssuedAt

      @Test public void testValidateIssuedAt()
    • testValidateIssuedAtAllowsZero

      @Test public void testValidateIssuedAtAllowsZero()
    • testValidateIssuedAtAllowsNull

      @Test public void testValidateIssuedAtAllowsNull()
    • testValidateIssuedAtDisallowsNegatives

      @Test public void testValidateIssuedAtDisallowsNegatives()