Class BrokerJwtValidatorTest


public class BrokerJwtValidatorTest extends JwtValidatorTest
  • Constructor Details

    • BrokerJwtValidatorTest

      public BrokerJwtValidatorTest()
  • Method Details

    • testRsaEncryptionAlgorithm

      @Test public void testRsaEncryptionAlgorithm() throws Exception
      Throws:
      Exception
    • testEcdsaEncryptionAlgorithm

      @Test public void testEcdsaEncryptionAlgorithm() throws Exception
      Throws:
      Exception
    • testInvalidEncryptionAlgorithm

      @Test public void testInvalidEncryptionAlgorithm() throws Exception
      Throws:
      Exception
    • testMissingSubShouldBeValid

      @Test public void testMissingSubShouldBeValid() throws Exception
      Throws:
      Exception
    • testIatNotRequiredButPresentInToken

      @Test public void testIatNotRequiredButPresentInToken() throws Exception
      Throws:
      Exception
    • testIatRequiredButNotPresentInToken

      @Test public void testIatRequiredButNotPresentInToken() throws Exception
      Throws:
      Exception
    • testJtiNotRequiredButPresentInToken

      @Test public void testJtiNotRequiredButPresentInToken() throws Exception
      Throws:
      Exception
    • testJtiRequiredButNotPresentInToken

      @Test public void testJtiRequiredButNotPresentInToken() throws Exception
      Throws:
      Exception
    • testAudNotRequiredButPresentInToken

      @Test public void testAudNotRequiredButPresentInToken() throws Exception
      Throws:
      Exception
    • testAudRequiredButNotPresentInToken

      @Test public void testAudRequiredButNotPresentInToken() throws Exception
      Throws:
      Exception
    • testRejectMissingIssuerClaimWhenExpectedIssuerSet

      @Test public void testRejectMissingIssuerClaimWhenExpectedIssuerSet() throws Exception
      Throws:
      Exception
    • testConfigureFailsWhenExpectedIssuerUnset

      @Test public void testConfigureFailsWhenExpectedIssuerUnset() throws Exception
      Throws:
      Exception
    • testExpectedIssuerSet

      @Test public void testExpectedIssuerSet() throws Exception
      Throws:
      Exception
    • testConfigureFailsWhenExpectedAudienceUnset

      @Test public void testConfigureFailsWhenExpectedAudienceUnset() throws Exception
      Throws:
      Exception
    • testRejectWrongAudienceWhenExpectedAudienceSet

      @Test public void testRejectWrongAudienceWhenExpectedAudienceSet() throws Exception
      Throws:
      Exception
    • testAllowUnverifiedAudience

      @Test public void testAllowUnverifiedAudience() throws Exception
      Throws:
      Exception
    • testAllowUnverifiedIssuer

      @Test public void testAllowUnverifiedIssuer() throws Exception
      Throws:
      Exception
    • testAllowUnverifiedIssuerAndAudience

      @Test public void testAllowUnverifiedIssuerAndAudience() throws Exception
      Throws:
      Exception
    • testConfigureFailsWhenNeitherExpectedSet

      @Test public void testConfigureFailsWhenNeitherExpectedSet() throws Exception
      Throws:
      Exception