From 0486e84fb3d8f8b9bda7558758934bf6221c1753 Mon Sep 17 00:00:00 2001 From: Antoine Vigneau Date: Wed, 5 Jun 2024 18:39:50 +0200 Subject: [PATCH] NOJIRA Clarify api/v2 externalProvider description --- .../v2/api/user/request/UserUpdateRestRequest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/user/request/UserUpdateRestRequest.java b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/user/request/UserUpdateRestRequest.java index decc01eb601..86df618f040 100644 --- a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/user/request/UserUpdateRestRequest.java +++ b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/user/request/UserUpdateRestRequest.java @@ -76,11 +76,11 @@ public class UserUpdateRestRequest { this.scmAccounts = UpdateField.withValue(scmAccounts); } - @Schema(implementation = String.class, description = "New external provider. Only authentication system installed are available. " + - "Use 'LDAP' identity provider for single server LDAP setup. " + - "Use 'LDAP_{serverKey}' identity provider for multiple LDAP servers setup. " + - "Warning: when this information has been updated for a user, the user will only be able to authenticate via the new identity provider. " + - "It is not possible to migrate external user to local one.") + @Schema(implementation = String.class, description = """ + New identity provider. Only providers configured in your platform are supported. This could be: github, gitlab, bitbucket, saml, LDAP, LDAP_{serverKey} + (according to your server configuration file). + Warning: when this is updated, the user will only be able to authenticate using the new identity provider. Also, it is not possible to remove the identity provider of a user. + """) public UpdateField getExternalProvider() { return externalProvider; } -- 2.39.5