Class PrimitiveInjectionTest

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

public class PrimitiveInjectionTest extends org.jboss.arquillian.testng.Arquillian
Tests that claims can be injected as primitive types into @RequestScoped beans
  • Constructor Details

    • PrimitiveInjectionTest

      public PrimitiveInjectionTest()
  • 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
    • verifyInjectedUPN

      @RunAsClient public void verifyInjectedUPN() throws Exception
      Throws:
      Exception
    • verifyInjectedSUB

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

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

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

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

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

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

      @RunAsClient public void verifyInjectedCustomBoolean()