Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebTestClient + Spring Security MockMvc Support #11334

Open
rwinch opened this issue Jun 3, 2022 · 1 comment
Open

WebTestClient + Spring Security MockMvc Support #11334

rwinch opened this issue Jun 3, 2022 · 1 comment
Labels
type: enhancement A general enhancement

Comments

@rwinch
Copy link
Member

rwinch commented Jun 3, 2022

Spring Security's MockMvc Support does not currently work with WebTestClient. This is a list of issues related to this problem. It includes both adding the feature to support Spring Security MockMvc and WebTestClient and (for the meantime) fixing bugs around users attempting to improperly use these features together.

@rstoyanchev
Copy link
Contributor

After the changes in spring-projects/spring-framework#31298, it should now be possible to sort this out. There is a FrameworkExtensionTests class that provides an example of how it works with MockMvcWebTestClient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants