We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cb4b6b commit 55ad008Copy full SHA for 55ad008
IV. Spring Boot features/27. Security.md IV. Spring Boot features/28. Security.mdIV. Spring Boot features/27. Security.md renamed to IV. Spring Boot features/28. Security.md
@@ -1,4 +1,4 @@
1
-### 27. 安全
+### 28. 安全
2
如果Spring Security在classpath下,那么web应用默认对所有的HTTP路径(也称为终点,端点,表示API的具体网址)使用'basic'认证。为了给web应用添加方法级别的保护,你可以添加@EnableGlobalMethodSecurity并使用想要的设置。其他信息参考[Spring Security Reference](http://docs.spring.io/spring-security/site/docs/3.2.5.RELEASE/reference/htmlsingle#jc-method)。
3
4
默认的AuthenticationManager有一个单一的user('user'的用户名和随机密码会在应用启动时以INFO日志级别打印出来)。如下:
0 commit comments