Closed as not planned
Closed as not planned
Description
Description of the Issue
In the Spring Security documentation, the following sentence appears incorrect due to a missing conditional "if":
"The auto-configuration of a UserDetailsService will also back off any of the following Spring Security modules is on the classpath:"
This sentence is misleading as it suggests that the UserDetailsService
auto-configuration will actively "back off" those modules, which is not the intended behavior.
Suggested Correction
The corrected sentence should be:
"The auto-configuration of a UserDetailsService will also back off if any of the following Spring Security modules is on the classpath:"
Why is this Correction Necessary?
- Grammar & Clarity: The missing "if" makes the sentence grammatically incorrect and harder to understand.
- Technical Accuracy: Without "if," it implies that
UserDetailsService
actively disables other modules, while the correct behavior is thatUserDetailsService
auto-configuration is skipped when those modules are present.
Steps to Reproduce:
- Visit the [Spring Security documentation](https://docs.spring.io/spring-security/reference/index.html) (or the specific file in the GitHub repository).
- Locate the section discussing
UserDetailsService
auto-configuration. - Observe the incorrect sentence structure.
Proposed Fix:
Update the documentation to include the missing "if" for better clarity and correctness.
Would appreciate your confirmation and update on this!