Package org.springframework.security.test.web.reactive.server
@NullMarked
package org.springframework.security.test.web.reactive.server
Spring Security upport for testing Spring WebFlux server endpoints via WebTestClient.
-
ClassesClassDescriptionTest utilities for working with Spring Security and
WebTestClient.Builder.apply(WebTestClientConfigurer).Updates the WebServerExchange using{@link SecurityMockServerConfigurers#mockAuthentication(Authentication)}.Configures a mock authorized OAuth2 client for use in tests.Configures a mock authenticated OAuth2 login for use in tests.Configures a mock authenticated OIDC login for use in tests.Configures a mock authenticated opaque token for use in tests.Updates the WebServerExchange using{@link SecurityMockServerConfigurers#mockUser(UserDetails)}.