Skip to content
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

Document that a system property is required for ADFS #91

Merged
merged 1 commit into from
Dec 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions doc/ADFS_CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ Example: Setting up Active Directory Federation Services (ADFS) to use with Jenk
*Note:* replace adfs.example.com with the name of your ADFS, replace jenkins.example.com with the name of your Jenkins host.

**On the Jenkins side:**
Download the IdP file to paste into the Jenkins config from your ADFS. It is generally exposed under the following URL:
* Download the IdP file to paste into the Jenkins config from your ADFS. It is generally exposed under the following URL:

```
https://adfs.example.com/FederationMetadata/2007-06/FederationMetadata.xml
```

* Set the system property `-Dorg.apache.xml.security.ignoreLineBreaks=true` when starting Jenkins.


**On the Windows side:**

Open the Management console (mmc), make sure you have the AD FS Management snap-in. Add a Relying Party Trust:
Expand All @@ -22,7 +25,7 @@ Go through the wizard. The properties at the end should look like indicated on t
------------ | -------------
![](images/Screen_Shot_2015-12-10_at_16.11.42.png) | ![](images/Screen_Shot_2015-12-10_at_16.11.44.png)

**Encryption:** import key from the JENKIS_HOME/saml-sp.metadata.xml file | **Signature:** import key from the JENKIS_HOME/saml-sp.metadata.xml file
**Encryption:** import key from the JENKINS_HOME/saml-sp.metadata.xml file | **Signature:** import key from the JENKINS_HOME/saml-sp.metadata.xml file
------------ | -------------
![](images/Screen_Shot_2015-12-10_at_16.11.46.png) | ![](images/Screen_Shot_2015-12-10_at_16.11.49.png)

Expand Down Expand Up @@ -51,4 +54,3 @@ Allow all users to connect, or modify depending on your setup: | -
![](images/Screen_Shot_2015-12-10_at_16.12.45.png)