Class TokenUtilsTest
- java.lang.Object
-
- org.eclipse.microprofile.jwt.tck.util.TokenUtilsTest
-
public class TokenUtilsTest extends Object
Tests which verify TokenUtils generateTokenString methods
-
-
Constructor Summary
Constructors Constructor Description TokenUtilsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testExpGrace()
void
testExpGraceDeprecated()
void
testFailAlgorithm()
void
testFailAlgorithmDeprecated()
void
testFailExpired()
void
testFailExpiredDeprecated()
void
testFailIssuer()
void
testFailIssuerDeprecated()
void
testFailJustExpired()
void
testFailJustExpiredDeprecated()
void
testFailSignature()
void
testFailSignatureDeprecated()
void
testSignedByECKeyVerifiedByRSKey()
void
testSignedByRSKeyVerifiedByECKey()
void
testValidToken()
void
testValidToken1024BitKeyLength()
void
testValidTokenDeprecated()
void
testValidTokenEC256()
-
-
-
Method Detail
-
testFailAlgorithmDeprecated
public void testFailAlgorithmDeprecated() throws Exception
- Throws:
Exception
-
testValidToken1024BitKeyLength
public void testValidToken1024BitKeyLength() throws Exception
- Throws:
Exception
-
testSignedByRSKeyVerifiedByECKey
public void testSignedByRSKeyVerifiedByECKey() throws Exception
- Throws:
Exception
-
testSignedByECKeyVerifiedByRSKey
public void testSignedByECKeyVerifiedByRSKey() throws Exception
- Throws:
Exception
-
testFailSignatureDeprecated
public void testFailSignatureDeprecated() throws Exception
- Throws:
Exception
-
testFailExpiredDeprecated
public void testFailExpiredDeprecated() throws Exception
- Throws:
Exception
-
testFailJustExpiredDeprecated
public void testFailJustExpiredDeprecated() throws Exception
- Throws:
Exception
-
-