Skip to content

Make MethodSecurityEvaluationContext Delegates to MethodBasedEvaluationContext #6249

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
wants to merge 1 commit into from

Conversation

dbuos
Copy link
Contributor

@dbuos dbuos commented Dec 7, 2018

Spring Security's MethodSecurityEvaluationContext should delegate to Spring Framework's
MethodBasedEvaluationContext

Fixes: gh-6224

@dbuos dbuos changed the title Make MethodBasedEvaluationContext Delegates to MethodBasedEvaluationContext Make MethodSecurityEvaluationContext Delegates to MethodBasedEvaluationContext Dec 7, 2018
…onContext

Spring Security's MethodSecurityEvaluationContext should delegate to Spring Framework's
MethodBasedEvaluationContext

Fixes: spring-projectsgh-6224
Copy link
Contributor

@eleftherias eleftherias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @dbuos! I have left one comment inline. Additionally, can you please rebase on the latest master code, as there are currently some conflicts

Comment on lines -51 to -53
public MethodSecurityEvaluationContext(Authentication user, MethodInvocation mi) {
this(user, mi, new DefaultSecurityParameterNameDiscoverer());
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to remove this constructor? Although it is only intended for testing, removing it would not be backward compatible

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @eleftherias I'll proceed to check the comment and rebase, thanks for your comment.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dbuos Have you had the chance to review the requested changes?

@eleftherias eleftherias self-assigned this Oct 15, 2019
@eleftherias eleftherias added status: feedback-provided Feedback has been provided and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 15, 2019
@eleftherias eleftherias added status: waiting-for-feedback We need additional information before we can continue and removed status: feedback-provided Feedback has been provided labels Nov 15, 2019
@eleftherias
Copy link
Contributor

Merged via 150b668
Polished via 924b9e9

@eleftherias eleftherias closed this Jan 4, 2020
@eleftherias eleftherias added this to the 5.3.0.M1 milestone Jan 4, 2020
@eleftherias eleftherias added in: core An issue in spring-security-core type: enhancement A general enhancement and removed status: waiting-for-feedback We need additional information before we can continue labels Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core An issue in spring-security-core type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MethodBasedEvaluationContext Should Delegate to MethodBasedEvaluationContext
3 participants