浏览代码

Merge branch '6.0.x'

Josh Cummings 2 年之前
父节点
当前提交
2b6a2c22db

+ 1 - 1
docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc

@@ -210,7 +210,7 @@ You could then refer to the method as follows:
 ----
 http
 	.authorizeHttpRequests(authorize -> authorize
-		.requestMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
+		.requestMatchers("/user/{userId}/**").access(new WebExpressionAuthorizationManager("@webSecurity.checkUserId(authentication,#userId)"))
 		...
 	);
 ----

+ 1 - 1
docs/modules/ROOT/pages/servlet/oauth2/login/core.adoc

@@ -5,7 +5,7 @@
 
 Spring Boot 2.x brings full auto-configuration capabilities for OAuth 2.0 Login.
 
-This section shows how to configure the {gh-samples-url}/boot/oauth2login[*OAuth 2.0 Login sample*] by using _Google_ as the _Authentication Provider_ and covers the following topics:
+This section shows how to configure the {gh-samples-url}/servlet/spring-boot/java/oauth2/login[*OAuth 2.0 Login sample*] by using _Google_ as the _Authentication Provider_ and covers the following topics:
 
 * <<oauth2login-sample-initial-setup>>
 * <<oauth2login-sample-redirect-uri>>