Skip to content

feat: Add Set Password API using Casdoor Java SDK#101

Closed
MonishK2002 wants to merge 1 commit intocasdoor:masterfrom
MonishK2002:patch-9
Closed

feat: Add Set Password API using Casdoor Java SDK#101
MonishK2002 wants to merge 1 commit intocasdoor:masterfrom
MonishK2002:patch-9

Conversation

@MonishK2002
Copy link

Summary

This PR introduces the Set Password API integration using the Casdoor Java SDK. It allows users to set a new password for their account.

Reason for Addition

The Set Password API is a critical feature for managing user credentials and is now available through the Casdoor Java SDK. This feature enhances security by enabling users to reset their passwords programmatically.

Changes Made

  • Integrated the Set Password API from the Casdoor Java SDK.
  • Updated relevant service layers and controllers to include the set password functionality.
  • Added error handling and validation for the Set Password API.

Testing

  • Verified the Set Password API functionality by testing various scenarios, including valid and invalid password changes.
  • Ran existing tests to ensure no other functionality was impacted by the new addition.

Impact

This update allows Spring Boot applications using the Casdoor Java SDK to set passwords for users securely, providing enhanced user management capabilities.

### Summary
This PR introduces the Set Password API integration using the Casdoor Java SDK. It allows users to set a new password for their account.

### Reason for Addition
The Set Password API is a critical feature for managing user credentials and is now available through the Casdoor Java SDK. This feature enhances security by enabling users to reset their passwords programmatically.

### Changes Made
- Integrated the Set Password API from the Casdoor Java SDK.
- Updated relevant service layers and controllers to include the set password functionality.
- Added error handling and validation for the Set Password API.

### Testing
- Verified the Set Password API functionality by testing various scenarios, including valid and invalid password changes.
- Ran existing tests to ensure no other functionality was impacted by the new addition.

### Impact
This update allows Spring Boot applications using the Casdoor Java SDK to set passwords for users securely, providing enhanced user management capabilities.

public class UserService extends Service {

private static final Logger LOGGER = LoggerFactory.getLogger(UserService.class);
Copy link
Member

Choose a reason for hiding this comment

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

Follow the existing code style. Don't use Logger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments