Uses of Package
com.c4_soft.springaddons.security.oauth2.test.annotations
Packages that use com.c4_soft.springaddons.security.oauth2.test.annotations
-
Classes in com.c4_soft.springaddons.security.oauth2.test.annotations used by com.c4_soft.springaddons.security.oauth2.test.annotationsClassDescriptionConfigures claims defined at https://datatracker.ietf.org/doc/html/rfc7519#section-4.1 and https://openid.net/specs/openid-connect-core-1_0.html#IDTokenAnnotation to setup test
SecurityContextwith anAuthenticationinstantiated by the (Reactive)JwtAuthenticaionConverter in the security conf.PopulatesSecurityContextwith anAuthenticationMock.Deprecated.not as convenient in @Parameterized tests as alternatives listed above and provide with less reliable consistency between introspected attributes and authoritiesDeprecated.not as convenient in @Parameterized tests as alternatives listed above and provide with less reliable consistency between claims and authoritiesPopulates the test security context with anOAuth2AuthenticationTokeninstance with aDefaultOAuth2Useras principal.Populates the test security context with anOAuth2AuthenticationTokeninstance with aDefaultOidcUseras principal.Annotation to setup testSecurityContextwith anAuthenticationinstantiated by the (Reactive)OpaqueTokenAuthenticationConverter in the security conf.