-
Notifications
You must be signed in to change notification settings - Fork 6k
Make AuthorizationProxyFactory.proxy generic #16996
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
base: main
Are you sure you want to change the base?
Make AuthorizationProxyFactory.proxy generic #16996
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @big-cir! I've left some feedback inline.
...t/java/org/springframework/security/authorization/AuthorizationAdvisorProxyFactoryTests.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/springframework/security/authorization/AuthorizationProxyFactory.java
Show resolved
Hide resolved
70bab2b
to
7b8ba13
Compare
7b8ba13
to
07a8e30
Compare
Thanks, @big-cir! This looks great. In preparation for merging, will you please squash your commits and then rewrite it to include the ticket number like so:
|
07a8e30
to
f4eda99
Compare
Closes spring-projectsgh-16706 Signed-off-by: dae won <eodnjs01477@gmail.com>
f4eda99
to
3c8a94d
Compare
I've squashed the commits and updated the commit message as requested. |
Overview
This pull request updates the AuthorizationProxyFactory interface to make its proxy method generic, ensuring that it returns the same type as the input object.
The following changes are included:
Related
ISSUE: #16706
Note
I’m aware that the issue is currently labeled with status: waiting-for-triage, which indicates that the final design direction may not be settled yet. This PR reflects my current understanding of the issue and is intended as a starting point for further discussion.
If this approach does not align with the intended direction, please feel free to close the PR or provide feedback. I am happy to revise or take a different direction as needed. Thank you!