-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
I would like to be able to use WebTestClient to test applications that use SslInfo without the need to use an HTTP connection (e.g. use WebTestClient.bindToApplicationContext(ApplicationContext)).
Right now the only way I can do this is to provide a custom WebTestClientConfigurer that mutates the ServerHttpRequest. I thought about providing this in Spring Security, but since there are no Spring Security dependencies, I think that it makes more sense in Spring Framework.
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement