Skip to content

Implement UserDetailsPasswordService in JdbcUserDetailsManager #16863 #16881

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

vasanth-79
Copy link
Contributor

@vasanth-79 vasanth-79 commented Apr 4, 2025

Issue Number: #16863

  • Added UserDetailsPasswordService implementation to JdbcUserDetailsManager class.
  • Implemented updatePassword method to support password updates.

Issue Number: 16863

- Added UserDetailsPasswordService implementation to JdbcUserDetailsManager class.
- Implemented updatePassword method to support password updates.

Signed-off-by: Vasanth <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 4, 2025
@rwinch rwinch self-assigned this Apr 8, 2025
@rwinch rwinch removed the status: waiting-for-triage An issue we've not yet triaged label Apr 8, 2025
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 8, 2025
Copy link
Member

@rwinch rwinch 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!

I've provided feedback inline. A few more items:

  • Please fix the tests. You can run them using ./gradlew check
  • Please add more tests for this additional logic

@@ -64,7 +65,8 @@
* @author Luke Taylor
* @since 2.0
*/
public class JdbcUserDetailsManager extends JdbcDaoImpl implements UserDetailsManager, GroupManager {
public class JdbcUserDetailsManager extends JdbcDaoImpl
implements UserDetailsManager, GroupManager, UserDetailsPasswordService {

Copy link
Member

Choose a reason for hiding this comment

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

Please add a boolean property enableUpdatePassword which is false by default. The updatePassword method logic should only be ran if the property is true.

@rwinch rwinch added status: waiting-for-feedback We need additional information before we can continue in: core An issue in spring-security-core type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 8, 2025
@jhl221123
Copy link
Contributor

Hi @vasanth-79,

I noticed that the feedback provided by @rwinch on this PR about a month ago hasn't been addressed yet. Are you still planning to work on implementing these changes? If you're unable to continue for any reason, I'd be happy to pick this up and help finish it by incorporating the requested feedback.

@rwinch, could you please advise on the best way to proceed if @vasanth-79 is no longer available?

Thanks!

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels May 5, 2025
@rwinch
Copy link
Member

rwinch commented May 6, 2025

Closing as declined due to lack of response to feedback

@jhl221123 If you can comment on the original issue, I can assign it to you

@rwinch rwinch closed this May 6, 2025
@rwinch rwinch added status: declined A suggestion or change that we don't feel we should currently apply and removed status: feedback-provided Feedback has been provided labels May 6, 2025
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 status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants