SEC-2059: Support Path Variables in Intercept-Url Pattern #2283

Closed
spring-issuemaster opened this Issue Sep 26, 2012 · 2 comments

2 participants

@spring-issuemaster

Andy Chang (Migrated from SEC-2059) said:

When using the default Ant path matcher, it would be great if path variables can be used in intercept-url patterns and referenced in security expressions like so:

<http use-expressions="true" >
    <intercept-url pattern="/users/{name}" access="authentication.name=#name" />
    ...
</http>
@spring-issuemaster

Rob Winch said:

This has been added to Spring Security 4.1 M1. The docs will deploy after the build completes (next 30 min) and be available at http://docs.spring.io/spring-security/site/docs/current-SNAPSHOT/reference/htmlsingle/#el-access-web-path-variables

@spring-issuemaster spring-issuemaster added this to the 4.1.0 M1 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment