public class NimbusJwtParserTest extends Object
| Constructor and Description |
|---|
NimbusJwtParserTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
shouldAcceptValidSignedToken() |
void |
shouldDetermineIssuerReturnEmptyIfNotAvailable() |
void |
shouldDetermineIssuerSucceedIfAvailable() |
void |
shouldParseMultipleAudiences() |
void |
shouldParseNotBeforeDateIfAvailable() |
void |
shouldParseNullPrivateClaimIfAvailable() |
void |
shouldParseStringPrivateClaimIfAvailable() |
void |
shouldParseSubjectIfAvailable() |
void |
shouldRejectTokenIfAlgorithmIsNone() |
void |
shouldRejectTokenIfAlgorithmUsesSymmetricCryptography()
ASAP requires asymmetric cryptography, otherwise we cannot ensure that the client is the exclusive
owner of the key used to sign the token.
|
void |
shouldRequireAlgHeader() |
void |
shouldRequireAudClaim() |
void |
shouldRequireExpClaim() |
void |
shouldRequireIatClaim() |
void |
shouldRequireIssClaim() |
void |
shouldRequireJtiClaim() |
void |
shouldRequireKidHeader() |
public void shouldAcceptValidSignedToken()
throws Exception
Exceptionpublic void shouldParseStringPrivateClaimIfAvailable()
throws Exception
Exceptionpublic void shouldParseNullPrivateClaimIfAvailable()
throws Exception
Exceptionpublic void shouldParseSubjectIfAvailable()
throws Exception
Exceptionpublic void shouldParseNotBeforeDateIfAvailable()
throws Exception
Exceptionpublic void shouldParseMultipleAudiences()
throws Exception
Exceptionpublic void shouldRejectTokenIfAlgorithmIsNone()
throws Exception
Exceptionpublic void shouldDetermineIssuerSucceedIfAvailable()
public void shouldDetermineIssuerReturnEmptyIfNotAvailable()
public void shouldRejectTokenIfAlgorithmUsesSymmetricCryptography()
throws Exception
ExceptionCopyright © 2017 Atlassian. All rights reserved.