All Classes and Interfaces
Class
Description
AbstractAnnotatedAuthenticationBuilder<A extends Annotation,T extends org.springframework.security.core.Authentication>
AuthenticationBuilder<T extends org.springframework.security.core.Authentication>
Common interface for test authentication builders
Define the different
Authentication instances to run each of JUnit 5 @ParameterizedTest with.MockAuthenticationBuilder<A extends org.springframework.security.core.Authentication,T extends MockAuthenticationBuilder<A,T>>
Define the different
OAuth2AuthenticationToken instances to run each of JUnit 5 @ParameterizedTest with.
Define the different
OAuth2AuthenticationToken instances to run each of JUnit 5 @ParameterizedTest with.Configures claims defined at
https://datatracker.ietf.org/doc/html/rfc7519#section-4.1 and
https://openid.net/specs/openid-connect-core-1_0.html#IDToken
https://openid.net/specs/openid-connect-core-1_0.html
Shortcut for
@ConvertWith(ParameterizedAuthentication.AuthenticationArgumentProcessor.class), which populates the passed
@ParameterizedTest parameter.
Shortcut for
@ConvertWith(ParameterizedOAuth2Login.AuthenticationArgumentProcessor.class), which populates the passed
@ParameterizedTest parameter.
Shortcut for
@ConvertWith(ParameterizedOidcLogin.AuthenticationArgumentProcessor.class), which populates the passed
@ParameterizedTest parameter.Helps with HTTP requests body serialization using Spring registered message converters.
Annotation to setup test
SecurityContext with an Authentication instantiated by the (Reactive)JwtAuthenticaionConverter in the security conf.
Populates
SecurityContext with an Authentication Mock.Deprecated.
not as convenient in @Parameterized tests as alternatives listed above and provide with less reliable consistency between introspected
attributes and authorities
Deprecated.
not as convenient in @Parameterized tests as alternatives listed above and provide with less reliable consistency between claims and
authorities
Populates the test security context with an
OAuth2AuthenticationToken instance with a DefaultOAuth2User as principal.
Populates the test security context with an
OAuth2AuthenticationToken instance with a DefaultOidcUser as principal.Annotation to setup test
SecurityContext with an Authentication instantiated by the (Reactive)OpaqueTokenAuthenticationConverter in the
security conf.