Fix links to Spring Security's reference documentation

Closes gh-28407
This commit is contained in:
Andy Wilkinson
2021-10-21 19:11:52 +01:00
parent b4e4bfcf14
commit d52b649bd7
6 changed files with 8 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
If {spring-security}[Spring Security] is on the classpath, then web applications are secured by default.
Spring Boot relies on Spring Securitys content-negotiation strategy to determine whether to use `httpBasic` or `formLogin`.
To add method-level security to a web application, you can also add `@EnableGlobalMethodSecurity` with your desired settings.
Additional information can be found in the {spring-security-docs}#jc-method[Spring Security Reference Guide].
Additional information can be found in the {spring-security-docs}/servlet/authorization/method-security.html[Spring Security Reference Guide].
The default `UserDetailsService` has a single user.
The user name is `user`, and the password is random and is printed at INFO level when the application starts, as shown in the following example: