Skip to content

Test Result : TestJWTBearerAuthenticationProvider

0 failures (±0)
21 tests (±0)
Took 34 ms.

All Tests

Test nameDurationStatus
should_not_support_UsernamePasswordAuthenticationToken1 msPassed
should_return_valid_token_when_audience_contains_token_endpoint3 msPassed
should_return_valid_token_when_issuer_does_not_end_with_slash_and_audience_contains_token_endpoint1 msPassed
should_support_JWTBearerAssertionAuthenticationToken0 msPassed
should_throw_AuthenticationServiceException_for_EncryptedJWT2 msPassed
should_throw_AuthenticationServiceException_for_PlainJWT1 msPassed
should_throw_AuthenticationServiceException_for_SignedJWT_when_in_heart_mode_and_auth_method_is_not_PRIVATE_KEY0 msPassed
should_throw_AuthenticationServiceException_for_SignedJWT_when_invalid_algorithm_for_PRIVATE_KEY_auth_method0 msPassed
should_throw_AuthenticationServiceException_for_SignedJWT_when_invalid_algorithm_for_SECRET_JWT_auth_method1 msPassed
should_throw_AuthenticationServiceException_for_SignedJWT_when_invalid_signature0 msPassed
should_throw_AuthenticationServiceException_for_SignedJWT_when_null_validator23 msPassed
should_throw_AuthenticationServiceException_for_SignedJWT_when_signing_algorithms_do_not_match0 msPassed
should_throw_AuthenticationServiceException_for_SignedJWT_when_unsupported_authentication_method_for_SignedJWT1 msPassed
should_throw_AuthenticationServiceException_when_expired_jwt0 msPassed
should_throw_AuthenticationServiceException_when_jwt_issued_in_future0 msPassed
should_throw_AuthenticationServiceException_when_jwt_valid_in_future0 msPassed
should_throw_AuthenticationServiceException_when_not_matching_issuer0 msPassed
should_throw_AuthenticationServiceException_when_null_expiration_time0 msPassed
should_throw_AuthenticationServiceException_when_null_issuer1 msPassed
should_throw_AuthenticationServiceException_when_unmatching_audience0 msPassed
should_throw_UsernameNotFoundException_when_clientService_throws_InvalidClientException1 msPassed