T - concrete Authentication type to build and configure in test security contextpublic interface AuthenticationConfigurer<T extends org.springframework.security.core.Authentication>
extends org.springframework.test.web.reactive.server.WebTestClientConfigurer, org.springframework.test.web.reactive.server.MockServerConfigurer, com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder<T>
Authentication WebTestClient configurers| Modifier and Type | Method and Description |
|---|---|
default void |
afterConfigureAdded(org.springframework.test.web.reactive.server.WebTestClient.MockServerSpec<?> serverSpec) |
default void |
afterConfigurerAdded(org.springframework.test.web.reactive.server.WebTestClient.Builder builder,
org.springframework.web.server.adapter.WebHttpHandlerBuilder httpHandlerBuilder,
org.springframework.http.client.reactive.ClientHttpConnector connector) |
default void |
beforeServerCreated(org.springframework.web.server.adapter.WebHttpHandlerBuilder builder) |
default <U extends org.springframework.test.web.reactive.server.WebTestClientConfigurer & org.springframework.test.web.reactive.server.MockServerConfigurer> |
configurer() |
default void beforeServerCreated(org.springframework.web.server.adapter.WebHttpHandlerBuilder builder)
beforeServerCreated in interface org.springframework.test.web.reactive.server.MockServerConfigurerdefault void afterConfigureAdded(org.springframework.test.web.reactive.server.WebTestClient.MockServerSpec<?> serverSpec)
afterConfigureAdded in interface org.springframework.test.web.reactive.server.MockServerConfigurerdefault void afterConfigurerAdded(org.springframework.test.web.reactive.server.WebTestClient.Builder builder,
@Nullable
org.springframework.web.server.adapter.WebHttpHandlerBuilder httpHandlerBuilder,
@Nullable
org.springframework.http.client.reactive.ClientHttpConnector connector)
afterConfigurerAdded in interface org.springframework.test.web.reactive.server.WebTestClientConfigurerdefault <U extends org.springframework.test.web.reactive.server.WebTestClientConfigurer & org.springframework.test.web.reactive.server.MockServerConfigurer> U configurer()
Copyright © 2022. All rights reserved.