]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-17303 Update SAML documentation
authorDimitris Kavvathas <dimitris.kavvathas@sonarsource.com>
Thu, 15 Sep 2022 15:46:12 +0000 (17:46 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 19 Sep 2022 20:03:08 +0000 (20:03 +0000)
server/sonar-docs/src/images/azure/saml-azure-sq-appid.png
server/sonar-docs/src/images/azure/saml-azure-sq-attributes.png
server/sonar-docs/src/images/azure/saml-azure-sq-certificate.png
server/sonar-docs/src/images/azure/saml-azure-sq-certs.png
server/sonar-docs/src/images/azure/saml-azure-sq-encryption.png
server/sonar-docs/src/images/azure/saml-azure-sq-group-role.png
server/sonar-docs/src/images/azure/saml-azure-sq-groups.png
server/sonar-docs/src/images/azure/saml-azure-sq-links.png
server/sonar-docs/src/images/azure/saml-azure-sq-saml.png
server/sonar-docs/src/pages/instance-administration/authentication/saml/overview.md

index 1794ff2acf9876e7dcd6b57268e0ffd33bfe8155..71c6040bf0140784043499adb3d3135e0c90f24d 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-appid.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-appid.png differ
index ba9481bf700cced50f7d32a53e97b7a76dae0c68..37433ca7152bf737db20125e872fd8ff18cb7b0a 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-attributes.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-attributes.png differ
index 29f4c19012886b36fc25204c3eed490f9a1a98ed..819a1d1d9233d21da9bd7330e76e0811ff350639 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-certificate.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-certificate.png differ
index 407bb40e0321fb6015632da2ee7cb799781e8992..6c89d54bc78b49c3760d8541ca226b155c6f1af0 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-certs.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-certs.png differ
index 7b5a8885b9def9d6ec5007615045c118890aa32a..b7ab8529f5e569f778a6f5af4df49b8d41b9486c 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-encryption.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-encryption.png differ
index 0178874a050df4be0e58a6e3385c03788f20c61d..1445923df1ceb0f6bbf5bbb241cc85cc4de3ac87 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-group-role.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-group-role.png differ
index c99e3ed8939fbcbd6702d8348451497078f51163..c7d7de342b20ecc96a45060cd5eb2d4dbea7fb80 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-groups.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-groups.png differ
index f38a171b17d7a535a39643d27277374ce27823dc..d592a1a9da93f63ef4a634667b81d1b6c1c303ec 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-links.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-links.png differ
index dabad676d27035f6efb0d311d8875e9ab42fc0fe..04ae001a8da11541db68198db48589d121febb75 100644 (file)
Binary files a/server/sonar-docs/src/images/azure/saml-azure-sq-saml.png and b/server/sonar-docs/src/images/azure/saml-azure-sq-saml.png differ
index a12288ea91d7fa18533fd1ec4a72ae78939aca16..1122f01ad512b32567432d7ba5d5b255b1efc5cc 100644 (file)
@@ -23,21 +23,25 @@ The SonarQube certificate is optional, but ensures that only SonarQube can use t
 
 ## Settings
 
-Property| Description                                                                                                                        | Default value | Required
----|------------------------------------------------------------------------------------------------------------------------------------|-----------|--------------------------------------------------------------------------
-`sonar.auth.saml.enabled`| Is SAML authentication enabled on SonarQube?                                                                                       |           | Yes
-`sonar.auth.saml.applicationId`| The ID under which SonarQube is known by the Identity Provider.                                                                    | sonarqube | Yes
-`sonar.auth.saml.providerName`| Name of the Identity Provider displayed in the login page when SAML authentication is active.                                                                                                 | SAML      | Yes
-`sonar.auth.saml.providerId`| The ID of the Identity Provider.                                                                                                   |           | Yes
-`sonar.auth.saml.loginUrl`| The Url where the Identity Provider expect to receive SAML requests.                                                               |           | Yes
-`sonar.auth.saml.certificate.secured`| The public X.509 certificate used by the Identity Provider to authenticate SAML messages.                                          |           | Yes
-`sonar.auth.saml.user.login`| The name of the attribute where the Identity Provider will put the authenticated user login.                                       |           | Yes
-`sonar.auth.saml.user.name`| The name of the attribute where the Identity Provider will put the authenticated user name.                                        |           | Yes
-`sonar.auth.saml.user.email`| The name of the attribute where the Identity Provider will put the authenticated user email.                                       |           | No
-`sonar.auth.saml.group.name`| The attribute defining the user group in SAML. Users are associated to the default group if this attribute is not defined.         |           | No
-`sonar.auth.saml.signature.enabled`| Is SonarQube expected to sign the SAML requests? If enabled both the service provider private key and certificate must be provided. |           | No
-`sonar.auth.saml.sp.privateKey.secured`| The PKCS8 private key without password used by SonarQube to sign SAML messages and to decrypt encrypted SAML responses.            |           | Only if SonarQube requests signature or responses encryption is enabled.
-`sonar.auth.saml.sp.certificate.secured`| The public key part of the previously provided private key.                                                                        |           | Only if SonarQube requests signature is enabled.
+| Property                                 | UI Name                       | Description                                                                                                                                             | Required                                                                                                                               |
+|------------------------------------------|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
+| `sonar.auth.saml.enabled`                | Enabled                       | Controls whether SAML authentication is enabled on SonarQube.                                                                                           | Yes                                                                                                                                    |
+| `sonar.auth.saml.applicationId`          | Application ID                | The ID under which SonarQube is known to the Identity Provider.                                                                                         | Yes                                                                                                                                    |
+| `sonar.auth.saml.providerName`           | Provider Name                 | The name of the Identity Provider displayed in the login page when SAML authentication is active.                                                       | Yes                                                                                                                                    |
+| `sonar.auth.saml.providerId`             | Provider ID                   | The ID of the Identity Provider.                                                                                                                        | Yes                                                                                                                                    |
+| `sonar.auth.saml.loginUrl`               | SAML login url                | The URL at which the Identity Provider expects to receive SAML requests.                                                                                | Yes                                                                                                                                    |
+| `sonar.auth.saml.certificate.secured`    | Identity provider certificate | The public X.509 certificate used by the Identity Provider to authenticate SAML messages.                                                               | Yes                                                                                                                                    |
+| `sonar.auth.saml.user.login`             | SAML user login attribute     | The name of the attribute that the Identity Provider will use to store the authenticated user login.                                                    | Yes                                                                                                                                    |
+| `sonar.auth.saml.user.name`              | SAML user name attribute      | The name of the attribute that the Identity Provider will use to store the authenticated user name.                                                     | Yes                                                                                                                                    |
+| `sonar.auth.saml.user.email`             | SAML user email attribute     | The name of the attribute that the Identity Provider will use to store the authenticated user email.                                                    | No                                                                                                                                     |
+| `sonar.auth.saml.group.name`             | SAML group attribute          | The attribute defining the user group in SAML. If this attribute is not defined, users are associated with the default group.                           | No                                                                                                                                     |
+| `sonar.auth.saml.signature.enabled`      | Sign requests                 | Controls whether SonarQube is expected to sign the SAML requests. If enabled, both the service provider's private key and certificate must be provided. | No                                                                                                                                     |
+| `sonar.auth.saml.sp.privateKey.secured`  | Service provider private key  | The PKCS8 private key without password used by SonarQube to sign SAML requests and to decrypt encrypted SAML responses.                                 | This is only required if `sonar.auth.saml.signature.enabled` is set to `true` or the Identity Provider sends encrypted SAML responses. |
+| `sonar.auth.saml.sp.certificate.secured` | Service provider certificate  | The public key part of the previously provided private key.                                                                                             | This is only required if `sonar.auth.saml.signature.enabled` is set to `true`.                                                         |
+
+### Testing
+After all the mandatory settings are filled, the SAML integration with the Identity Provider can be tested by clicking the **Test configuration** button.
+A new tab will open with more information regarding the success of the integration, attributes received from the Identity Provider, and any warnings or errors that occur.
 
 ## SAML configuration related information and limitations