Class DecryptKeyAlgorithmDefaultTest

  • All Implemented Interfaces:
    org.testng.IHookable, org.testng.ITestNGListener

    public class DecryptKeyAlgorithmDefaultTest
    extends org.jboss.arquillian.testng.Arquillian
    If "mp.jwt.decryption.algorithm" is not set then both RSA-OAEP and RSA-OAEP-256 must be accepted.
    • Constructor Detail

      • DecryptKeyAlgorithmDefaultTest

        public DecryptKeyAlgorithmDefaultTest()
    • Method Detail

      • 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
      • callEchoRsaOaep256

        @RunAsClient
        public void callEchoRsaOaep256()
                                throws Exception
        Throws:
        Exception
      • callEchoRsaOaep

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