Skip to content

Servlet-based UserDetailsServiceAutoConfiguration is active in a reactive app #43326

@sephiroth-j

Description

@sephiroth-j

After upgrading our reactive web app from Spring Boot 3.3.6 to 3.4.0, we noticed that the servlet-based UserDetailsServiceAutoConfiguration is active. During startup, this messages is logged.

2024-11-29T13:30:38.184+01:00  WARN 21 --- [           main] .s.s.UserDetailsServiceAutoConfiguration :
Using generated security password: 87a7148a-b308-4d87-ae00-92035323b119
This generated password is for development use only. Your security configuration must be updated before running your application in production.

Where does this change come from? Shouldn't it have the annotation @ConditionalOnWebApplication(type = Type.SERVLET)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions