-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat: user management patch endpoint #1184
Conversation
…ns-config-api-418
…ns-config-api-418
…ns-config-api-418
…ns-config-api-418
…ns-config-api-418
[jans-cli] Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
private User updateCustomAttributes(User user, List<CustomObjectAttribute> customAttributes) { | ||
logger.debug("Custom Attributes to update for - user:{}, customAttributes:{} ", user, customAttributes); | ||
|
||
if (customAttributes != null && !customAttributes.isEmpty()) { |
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.
Lets do early exit where possible.
if (customAttributes==null || customAttributes.isEmpty()) {
return user;
}
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.
Done
[Jans authentication server parent] Kudos, SonarCloud Quality Gate passed! |
[jans-linux-setup] Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
[jans-config-api-parent] SonarCloud Quality Gate failed. |
Changes for user management endpoint
userPassword
Related issue 418
Impacted modules: