Преглед на файлове

authorizeUrls -> authorizeRequests

Replace remaining authorizeUrls with authorizeRequests

Fixes gh-3875
Rob Winch преди 9 години
родител
ревизия
ede521dc8d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      docs/manual/src/docs/asciidoc/index.adoc

+ 2 - 2
docs/manual/src/docs/asciidoc/index.adoc

@@ -4897,7 +4897,7 @@ or in Java configuration
 [source,java]
 [source,java]
 ----
 ----
 http
 http
-		.authorizeUrls()
+		.authorizeRequests()
 				.antMatchers("/user/**").access("@webSecurity.check(authentication,request)")
 				.antMatchers("/user/**").access("@webSecurity.check(authentication,request)")
 				...
 				...
 ----
 ----
@@ -4936,7 +4936,7 @@ or in Java configuration
 [source,java]
 [source,java]
 ----
 ----
 http
 http
-		.authorizeUrls()
+		.authorizeRequests()
 				.antMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
 				.antMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)")
 				...
 				...
 ----
 ----