Skip to content

Test auto-configuration no longer integrates Spring Security with HtmlUnitDriver#50602

Closed
nosan wants to merge 1 commit into
spring-projects:4.0.xfrom
nosan:bug/1
Closed

Test auto-configuration no longer integrates Spring Security with HtmlUnitDriver#50602
nosan wants to merge 1 commit into
spring-projects:4.0.xfrom
nosan:bug/1

Conversation

@nosan
Copy link
Copy Markdown
Contributor

@nosan nosan commented May 28, 2026

Register securityDelegateMockMvcHtmlUnitDriverCustomizer in SecurityMockMvcAutoConfiguration

Prior to this commit, securityDelegateMockMvcHtmlUnitDriverCustomizer was not registered as a bean.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 28, 2026
@nosan nosan changed the title Auto-configure security MockMvc HtmlUnit driver customizer Add missing @Bean annotation to securityDelegateMockMvcHtmlUnitDriverCustomizer in SecurityMockMvcHtmlUnitDriverConfiguration May 28, 2026
…Customizer

Prior to this commit, securityDelegateMockMvcHtmlUnitDriverCustomizer
did not have an @bean annotation and therefore
was not registered as a bean in SecurityMockMvcAutoConfiguration.

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
@wilkinsona wilkinsona changed the title Add missing @Bean annotation to securityDelegateMockMvcHtmlUnitDriverCustomizer in SecurityMockMvcHtmlUnitDriverConfiguration Test auto-configuration no longer integrates Spring Security with HtmlUnitDriver May 29, 2026
@wilkinsona wilkinsona added type: regression A regression from a previous release and removed status: waiting-for-triage An issue we've not yet triaged labels May 29, 2026
@wilkinsona wilkinsona added this to the 4.0.x milestone May 29, 2026
@snicoll snicoll self-assigned this May 30, 2026
@snicoll snicoll modified the milestones: 4.0.x, 4.0.7 May 30, 2026
@snicoll snicoll closed this in 326181c May 30, 2026
pull Bot pushed a commit to LadyK-21/spring-boot that referenced this pull request May 30, 2026
Prior to this commit, securityDelegateMockMvcHtmlUnitDriverCustomizer
did not have an @bean annotation and therefore
was not registered as a bean in SecurityMockMvcAutoConfiguration.

See spring-projectsgh-50602

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: regression A regression from a previous release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants