-
Notifications
You must be signed in to change notification settings - Fork 6k
#11510: Add isFullyAuthenticated to AuthenticatedTrustResolver #11654
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
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, @karthikeyan-r! Sorry for the delay, I've left some feedback inline.
Will you please also adjust the commit message to be like the following:
Commit Title
Closes gh-11510
core/src/main/java/org/springframework/security/authentication/AuthenticationTrustResolver.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/springframework/security/authentication/AuthenticationTrustResolver.java
Outdated
Show resolved
Hide resolved
@karthikeyan-r, please also take a look at the ticket description to find the places to use this new method. Please change those places to use it. |
Hi, @karthikeyan-r. Are you able to make the requested changes? |
Apologies for the delay @jzheaux, I was travelling & couldnt check and respond to your message. I will work on these comment & push code back in a day. |
Regarding changes in
|
Now it's my turn to delay, @karthikeyan-r! Thanks for your question. If you follow the method I believe it is correct to change the implementation of return this.trustResolver.isFullyAuthenticated(authentication); |
Thanks for your suggestion @jzheaux, I have updated implementation |
Thanks, @karthikeyan-r! It looks like there is a failing test. Can you check that out, please? |
@jzheaux resolved that test failure. Added null check for authentication to fix that. |
@jzheaux any comments on this fix ? |
Thanks for the updates, @karthikeyan-r! I'll take things from here. We won't be able to merge it just yet since we are in the RC phase of the next release, but I'll merge it right after that. |
Thanks, @karthikeyan-r! This is now merged into |
Spring Security 11510 - Implemented isFullyAuthenticated function which is composition of isAnonymous & isRememberMe