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
This commit is contained in:
Kamill Sokol 2016-04-01 16:38:09 +02:00 committed by Rob Winch
parent f49cd5faba
commit 9c3db557dd
1 changed files with 2 additions and 2 deletions

View File

@ -4851,7 +4851,7 @@ You could refer to the method using:
----
<http>
<intercept-url pattern="/user/{userId}/**"
access="@webSecurity.checkUserId(authentication,userId)"/>
access="@webSecurity.checkUserId(authentication,#userId)"/>
...
</http>
----
@ -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)")
...
----