Summary
While SecurityMockMvcRequestBuilders provides APIs to perform a formLogin and logout, there seems to be no equivalent for the reactive stack.
Configuration
My current configuration looks as follow:
@Before
public void setup() {
this.rest = WebTestClient
.bindToApplicationContext(this.context)
.apply(springSecurity())
.configureClient()
.filter(basicAuthentication())
.build();
}
Instead of the basicAuthentication filter, I'd like to use a formAuthentication
Also a Utility to perform a logout is required.
Version
5.0.6.RELEASE
Summary
While SecurityMockMvcRequestBuilders provides APIs to perform a formLogin and logout, there seems to be no equivalent for the reactive stack.
Configuration
My current configuration looks as follow:
Instead of the
basicAuthenticationfilter, I'd like to use aformAuthenticationAlso a Utility to perform a logout is required.
Version
5.0.6.RELEASE