Skip to content

SEC-2488: Make the PreFilter annotation support filtering of an immutable list. #2708

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

Closed
spring-projects-issues opened this issue Feb 12, 2014 · 4 comments
Assignees
Labels
in: web An issue in web modules (web, webmvc) status: duplicate A duplicate of another issue type: enhancement A general enhancement type: jira An issue that was migrated from JIRA

Comments

@spring-projects-issues
Copy link

Quinten Krijger (Migrated from SEC-2488) said:

I posted a pull request on github, but I haven't heard of it for two months, so I thought JIRA might be a better route.

I put the github pull request in here as Pull Request URL.

@spring-projects-issues
Copy link
Author

Rob Winch said:

Thank you for reporting this and creating a PR.

You are right that JIRA is the place to go. See the CONTRIBUTING.md in github (which should show up as you create PRs).

@spring-projects-issues
Copy link
Author

Rob Winch said:

What makes this quite challenging is ensuring we remain passive for Collections that ArrayList does not implement. For example, a user may use the following:

public Set<?> methodTakingASet(Set<?> set) {return set;}

You might do lots of instanceof checks to determine the new argument to create. However, we still does not handle additional implementations of Collection that users might be using. This limitation might not be a big deal if we didn't already have many users leveraging the feature.

Before we accept something like this, we need to verify that it is completely passive. One way might be to provide an alternative MethodSecurityExpressionHandler implementation.

As I'm guessing this is going to take a while to sort out. I'm pushing the fix version back.

@spring-projects-issues
Copy link
Author

Rob Winch said:

Duplicates SEC-2083

@spring-projects-issues spring-projects-issues added in: web An issue in web modules (web, webmvc) Resolved type: enhancement A general enhancement status: duplicate A duplicate of another issue type: jira An issue that was migrated from JIRA labels Feb 5, 2016
@spring-projects-issues
Copy link
Author

This issue duplicates #2316

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) status: duplicate A duplicate of another issue 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