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

Support Externalized Method Security Configuration #14717

Open
Tracked by #14595
rwinch opened this issue Mar 11, 2024 · 0 comments
Open
Tracked by #14595

Support Externalized Method Security Configuration #14717

rwinch opened this issue Mar 11, 2024 · 0 comments

Comments

@rwinch
Copy link
Member

rwinch commented Mar 11, 2024

There are times that users cannot add annotations to objects or APIs that they want to secure. For example, consider if an team external provides a PersonService and team internal wants to add security to it. At the moment, the security must be done by adding intercept-methods style configuration.

A similar situation occurs when using Collections of objects. In this case, Spring Security provides custom Filtering. This could potentially be used to replace the @PreFilter and @PostFilter support.

I think that these situations are very similar and can be combined into an approach similar to Jackson's MixIn Approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant