Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
spring-projects-issues opened this issue Sep 26, 2012 · 2 comments
Closed
Assignees
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Milestone

Comments

@spring-projects-issues
Copy link

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-projects-issues
Copy link
Author

@spring-projects-issues
Copy link
Author

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-projects-issues spring-projects-issues added in: web An issue in web modules (web, webmvc) Resolved type: jira An issue that was migrated from JIRA labels Feb 5, 2016
@spring-projects-issues spring-projects-issues added this to the 4.1.0 M1 milestone Feb 5, 2016
@rwinch rwinch added the type: enhancement A general enhancement label May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Projects
None yet
Development

No branches or pull requests

2 participants