Package uk.co.spudsoft.jwtvalidatorvertx
Class TestJwtValidatorVertx
java.lang.Object
uk.co.spudsoft.jwtvalidatorvertx.AbstractTokenValidationTester
uk.co.spudsoft.jwtvalidatorvertx.TestJwtValidatorVertx
- Author:
- njt
-
Nested Class Summary
Nested classes/interfaces inherited from class uk.co.spudsoft.jwtvalidatorvertx.AbstractTokenValidationTester
AbstractTokenValidationTester.TestFailure, AbstractTokenValidationTester.TestFunction, AbstractTokenValidationTester.TestResult
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class uk.co.spudsoft.jwtvalidatorvertx.AbstractTokenValidationTester
getResults, performTest, performTests, testAlgorithmES512, testAlgorithmHS512, testAlgorithmNone, testAudNotAcceptedAsFirstElementOfArray, testAudNotAcceptedAsLastElementOfArray, testAudNotAcceptedAsSingleElementArray, testAudNotAcceptedAsSingleValue, testBadAudAccepted, testBadIssAccepted, testExpInThePast, testInvalidSignature, testInvalidStructureFirstPartNotBase64, testInvalidStructureFirstPartNotJson, testInvalidStructureNotThreeParts, testInvalidStructureSecondPartNotBase64, testInvalidStructureSecondPartNotJson, testInvalidStructureThirdPartNotBase64, testKeyNotInJwksOutput, testNbfInTheFuture, testNoExpPermitted, testNoNbfPermitted, testNoSubAccepted, testValidRs256, testValidRs384, testValidRs512
-
Constructor Details
-
TestJwtValidatorVertx
public TestJwtValidatorVertx()
-
-
Method Details
-
createTokenBuilder
- Specified by:
createTokenBuilder
in classAbstractTokenValidationTester
-
test
@Test public void test() -
init
- Throws:
IOException
-
shutdown
- Throws:
IOException
-
useToken
- Specified by:
useToken
in classAbstractTokenValidationTester
-
prepTest
- Specified by:
prepTest
in classAbstractTokenValidationTester
-
getAud
- Specified by:
getAud
in classAbstractTokenValidationTester
-
getIssuer
- Specified by:
getIssuer
in classAbstractTokenValidationTester
-
getKeyId
- Specified by:
getKeyId
in classAbstractTokenValidationTester
-
requiresExp
protected boolean requiresExp()- Specified by:
requiresExp
in classAbstractTokenValidationTester
-
requiresNbf
protected boolean requiresNbf()- Specified by:
requiresNbf
in classAbstractTokenValidationTester
-