diff --git a/docs/manual/src/docs/asciidoc/index.adoc b/docs/manual/src/docs/asciidoc/index.adoc index 6906364bad..6a860d0ab9 100644 --- a/docs/manual/src/docs/asciidoc/index.adoc +++ b/docs/manual/src/docs/asciidoc/index.adoc @@ -4851,7 +4851,7 @@ You could refer to the method using: ---- + access="@webSecurity.checkUserId(authentication,#userId)"/> ... ---- @@ -4862,7 +4862,7 @@ or in Java configuration ---- http .authorizeUrls() - .antMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,userId)") + .antMatchers("/user/{userId}/**").access("@webSecurity.checkUserId(authentication,#userId)") ... ----