3.5.3. TestSecurity annotation
You can use @TestSecurity and @OidcSecurity annotations to test the web-app application endpoint code, which depends on either one of the following injections, or all four:
-
ID
JsonWebToken -
Access
JsonWebToken -
UserInfo -
OidcConfigurationMetadata
For more information, see Use TestingSecurity with injected JsonWebToken.