Class ProviderInjectionTest

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

public class ProviderInjectionTest extends org.jboss.arquillian.testng.Arquillian
Tests of injection JsonWebToken claims using the Instance interface.
  • Constructor Details

    • ProviderInjectionTest

      public ProviderInjectionTest()
  • 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
    • verifyInjectedIssuedAt

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

      @RunAsClient public void verifyInjectedOptionalSubject() throws Exception
      Throws:
      Exception
    • verifyInjectedOptionalAuthTime

      @RunAsClient public void verifyInjectedOptionalAuthTime() throws Exception
      Throws:
      Exception
    • verifyInjectedOptionalCustomMissing

      @RunAsClient public void verifyInjectedOptionalCustomMissing() 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
    • 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
    • verifyInjectedOptionalSubject2

      @RunAsClient public void verifyInjectedOptionalSubject2() throws Exception
      Throws:
      Exception
    • verifyInjectedOptionalAuthTime2

      @RunAsClient public void verifyInjectedOptionalAuthTime2() 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