Class JsonValueInjectionTest

java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.jwt.tck.container.jaxrs.JsonValueInjectionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

public class JsonValueInjectionTest extends org.jboss.arquillian.testng.Arquillian
Tests of injection of JsonWebToken claims using JsonValue subtypes.
  • Constructor Details

    • JsonValueInjectionTest

      public JsonValueInjectionTest()
  • Method Details

    • createDeployment

      @Deployment(testable=true) public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() throws IOException
      Create a CDI aware base web application archive
      Returns:
      the base base web application archive
      Throws:
      IOException - - on resource failure
    • generateToken

      @BeforeClass(alwaysRun=true) public static void generateToken() throws Exception
      Throws:
      Exception
    • verifyIssuerClaim

      @RunAsClient public void verifyIssuerClaim() throws Exception
      Throws:
      Exception
    • verifyInjectedRawToken

      @RunAsClient public void verifyInjectedRawToken() throws Exception
      Throws:
      Exception
    • verifyInjectedJTI

      @RunAsClient public void verifyInjectedJTI() throws Exception
      Throws:
      Exception
    • verifyInjectedAudience

      @RunAsClient public void verifyInjectedAudience() throws Exception
      Throws:
      Exception
    • verifyInjectedAuthTime

      @RunAsClient public void verifyInjectedAuthTime() throws Exception
      Throws:
      Exception
    • verifyInjectedIssuedAt

      @RunAsClient public void verifyInjectedIssuedAt() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomString

      @RunAsClient public void verifyInjectedCustomString() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomInteger

      @RunAsClient public void verifyInjectedCustomInteger() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomDouble

      @RunAsClient public void verifyInjectedCustomDouble() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomStringArray

      @RunAsClient public void verifyInjectedCustomStringArray() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomIntegerArray

      @RunAsClient public void verifyInjectedCustomIntegerArray() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomDoubleArray

      @RunAsClient public void verifyInjectedCustomDoubleArray() throws Exception
      Throws:
      Exception
    • verifyIssuerClaim2

      @RunAsClient public void verifyIssuerClaim2() throws Exception
      Throws:
      Exception
    • verifyInjectedRawToken2

      @RunAsClient public void verifyInjectedRawToken2() throws Exception
      Throws:
      Exception
    • verifyInjectedJTI2

      @RunAsClient public void verifyInjectedJTI2() throws Exception
      Throws:
      Exception
    • verifyInjectedAudience2

      @RunAsClient public void verifyInjectedAudience2() throws Exception
      Throws:
      Exception
    • verifyInjectedIssuedAt2

      @RunAsClient public void verifyInjectedIssuedAt2() throws Exception
      Throws:
      Exception
    • verifyInjectedAuthTime2

      @RunAsClient public void verifyInjectedAuthTime2() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomString2

      @RunAsClient public void verifyInjectedCustomString2() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomInteger2

      @RunAsClient public void verifyInjectedCustomInteger2() throws Exception
      Throws:
      Exception
    • verifyInjectedCustomDouble2

      @RunAsClient public void verifyInjectedCustomDouble2() throws Exception
      Throws:
      Exception