Skip to content

Commit 6760c39

Browse files
committed
Merge pull request #44267 from ngocnhan-tran1996
* pr/44267: Clarifyt when UserDetailsService auto-configuration will back off Closes gh-44267
2 parents c20599a + f3ce5bc commit 6760c39

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-security.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ javadoc:org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConf
4040
To completely switch off the default web application security configuration, including Actuator security, or to combine multiple Spring Security components such as OAuth2 Client and Resource Server, add a bean of type javadoc:org.springframework.security.web.SecurityFilterChain[] (doing so does not disable the javadoc:org.springframework.security.core.userdetails.UserDetailsService[] configuration).
4141
To also switch off the javadoc:org.springframework.security.core.userdetails.UserDetailsService[] configuration, add a bean of type javadoc:org.springframework.security.core.userdetails.UserDetailsService[], javadoc:org.springframework.security.authentication.AuthenticationProvider[], or javadoc:org.springframework.security.authentication.AuthenticationManager[].
4242

43-
The auto-configuration of a javadoc:org.springframework.security.core.userdetails.UserDetailsService[] will also back off any of the following Spring Security modules is on the classpath:
43+
The auto-configuration of a javadoc:org.springframework.security.core.userdetails.UserDetailsService[] will also back off when any of the following Spring Security modules is on the classpath:
4444

4545
- `spring-security-oauth2-client`
4646
- `spring-security-oauth2-resource-server`

0 commit comments

Comments
 (0)