Class InvalidTokenTest

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

    public class InvalidTokenTest
    extends org.jboss.arquillian.testng.Arquillian
    These set of tests validate the validation expectations for JWTs
    • Constructor Detail

      • InvalidTokenTest

        public InvalidTokenTest()
    • 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
      • callEchoExpiredToken

        @RunAsClient
        public void callEchoExpiredToken()
                                  throws Exception
        Throws:
        Exception
      • callEchoBadIssuer

        @RunAsClient
        public void callEchoBadIssuer()
                               throws Exception
        Throws:
        Exception
      • callEchoBadSigner

        @RunAsClient
        public void callEchoBadSigner()
                               throws Exception
        Throws:
        Exception
      • callEchoBadSignerAlg

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