Class InvalidTokenTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.eclipse.microprofile.jwt.tck.container.jaxrs.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 Summary
Constructors Constructor Description InvalidTokenTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callEchoBadIssuer()
void
callEchoBadSigner()
void
callEchoBadSignerAlg()
void
callEchoExpiredToken()
static org.jboss.shrinkwrap.api.spec.WebArchive
createDeployment()
Create a CDI aware base web application archive
-
-
-
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
-
-