-
Notifications
You must be signed in to change notification settings - Fork 6k
Add support to prevent authentication when user is locked, disabled o… #7119
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.
Thaks for the PR, @eddumelendez! I have left some feedback inline. Would you also consider changing the commit message to something shorter? One idea is "Prevent authentication of inactive user for reactive apps"
...pringframework/security/authentication/AbstractUserDetailsReactiveAuthenticationManager.java
Show resolved
Hide resolved
...pringframework/security/authentication/AbstractUserDetailsReactiveAuthenticationManager.java
Show resolved
Hide resolved
...ingframework/security/authentication/UserDetailsRepositoryReactiveAuthenticationManager.java
Outdated
Show resolved
Hide resolved
...amework/security/authentication/UserDetailsRepositoryReactiveAuthenticationManagerTests.java
Show resolved
Hide resolved
...ingframework/security/authentication/UserDetailsRepositoryReactiveAuthenticationManager.java
Show resolved
Hide resolved
...amework/security/authentication/UserDetailsRepositoryReactiveAuthenticationManagerTests.java
Outdated
Show resolved
Hide resolved
...amework/security/authentication/UserDetailsRepositoryReactiveAuthenticationManagerTests.java
Outdated
Show resolved
Hide resolved
...amework/security/authentication/UserDetailsRepositoryReactiveAuthenticationManagerTests.java
Outdated
Show resolved
Hide resolved
Currently, reactive applications doesn't perform validation when user is locked, disabled or expired. This commit introduces these validations. Fixes spring-projectsgh-7113
Hi @eleftherias I have solved the comments. Thanks for the feedback |
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.
Thank you for the quick update @eddumelendez! I have left a couple more comments inline.
...pringframework/security/authentication/AbstractUserDetailsReactiveAuthenticationManager.java
Outdated
Show resolved
Hide resolved
...amework/security/authentication/UserDetailsRepositoryReactiveAuthenticationManagerTests.java
Show resolved
Hide resolved
@eleftherias new commits has been submitted with the changes. |
Thanks for the PR @eddumelendez! This is now merged into master. |
…r expired for reactive apps
Currently, reactive applications doesn't perform validation when user
is locked, disabled or expired. This commit introduces these validations.
Fixes gh-7113