JWTAuthenticationProviderTest

6

tests

0

failures

0

ignored

0.048s

duration

100%

successful

Tests

Test Duration Result
authenticate_shouldReturnAuthenticatedJWTAuthentication_whenTokenValidAndUserFound() 0.001s passed
authenticate_shouldReturnInput_whenNotJWTAuthentication() 0.002s passed
authenticate_shouldThrowException_whenTokenInvalid() 0.007s passed
authenticate_shouldThrowException_whenUserNotFound() 0.002s passed
supports_shouldReturnFalseForOtherClass() 0.036s passed
supports_shouldReturnTrueForJWTAuthentication() 0s passed

Standard output

2025-07-26T04:49:13.265+05:30  WARN 45012 --- [api-gateway] [    Test worker] c.s.a.s.JWTAuthenticationProvider        : Invalid access token received
2025-07-26T04:49:13.270+05:30  WARN 45012 --- [api-gateway] [    Test worker] c.s.a.s.JWTAuthenticationProvider        : No user found for the provided access token