From 9c3db557ddd3b2927da071d196a3ba5e67879e54 Mon Sep 17 00:00:00 2001 From: Kamill Sokol Date: Fri, 1 Apr 2016 16:38:09 +0200 Subject: [PATCH] Add missing # in SpEL expression doc SpEL variables can be referenced in the expression using the syntax 23.2.2 Path Variables in Web Security Expressions. Fixes gh-3781 --- docs/manual/src/docs/asciidoc/index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)") ... ----