Class RsaAndEcSignatureAlgorithmTest

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

public class RsaAndEcSignatureAlgorithmTest extends org.jboss.arquillian.testng.Arquillian
Validate that if mp.jwt.verify.publickey.algorithm is not configured, then both RS256 and ES256 signatures must be accepted.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.jboss.arquillian.testng.Arquillian

    org.jboss.arquillian.testng.Arquillian.UpdateResultListener
  • Field Summary

    Fields inherited from class org.jboss.arquillian.testng.Arquillian

    ARQUILLIAN_DATA_PROVIDER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.jboss.shrinkwrap.api.spec.WebArchive
    Create a CDI aware base web application archive
    void
     
    void
     

    Methods inherited from class org.jboss.arquillian.testng.Arquillian

    arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RsaAndEcSignatureAlgorithmTest

      public RsaAndEcSignatureAlgorithmTest()
  • Method Details

    • createDeployment

      @Deployment 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
    • testES256Token

      @RunAsClient public void testES256Token() throws Exception
      Throws:
      Exception
    • testRS256Token

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