spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

Support Externalized Method Security Configuration

Open rwinch opened this issue 2 years ago • 0 comments

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.

rwinch avatar Mar 11 '24 17:03 rwinch