@@ -183,8 +183,11 @@ Edit `/opt/idp5-jetty12-base/jetty-impl/src/main/resources/net/shibboleth/idp/mo
183183
184184Create (or copy from this repo):
185185
186- TODO /opt/idpswitch/idp5-jetty12/run
187- TODO /opt/idpswitch/idp5-jetty12/idp-metadata.xml
186+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/opt/idpswitch/idp5-jetty12/run#L1
187+
188+ ``` shell
189+ sudo ln -s /opt/idp5/metadata/idp-metadata.xml /opt/idpswitch/idp5-jetty12/idp-metadata.xml
190+ ```
188191
189192Start the server and test if it works:
190193
@@ -225,8 +228,11 @@ Edit `/opt/idp5-jetty11-base/src/main/resources/jetty-base/start.d/idp.ini` as f
225228
226229Create (or copy from this repo):
227230
228- TODO /opt/idpswitch/idp5-jetty11/run
229- TODO /opt/idpswitch/idp5-jetty11/idp-metadata.xml
231+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/opt/idpswitch/idp5-jetty11/run#L1
232+
233+ ``` shell
234+ sudo ln -s /opt/idp5/metadata/idp-metadata.xml /opt/idpswitch/idp5-jetty11/idp-metadata.xml
235+ ```
230236
231237Start the server and test if it works:
232238
@@ -271,8 +277,11 @@ Edit `/opt/idp5-tomcat10-base/tomcat-base/conf/server.xml` as follows:
271277
272278Create (or copy from this repo):
273279
274- TODO /opt/idpswitch/idp5-tomcat10/run
275- TODO /opt/idpswitch/idp5-tomcat10/idp-metadata.xml
280+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/opt/idpswitch/idp5-tomcat10/run#L1
281+
282+ ``` shell
283+ sudo ln -s /opt/idp5/metadata/idp-metadata.xml /opt/idpswitch/idp5-tomcat10/idp-metadata.xml
284+ ```
276285
277286Start the server and test if it works:
278287
@@ -310,8 +319,11 @@ Edit `/opt/idp4-jetty12-base/jetty-impl/src/main/resources/net/shibboleth/idp/mo
310319
311320Create (or copy from this repo):
312321
313- TODO /opt/idpswitch/idp4-jetty12/run
314- TODO /opt/idpswitch/idp4-jetty12/idp-metadata.xml
322+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/opt/idpswitch/idp4-jetty12/run#L1
323+
324+ ``` shell
325+ sudo ln -s /opt/idp4/metadata/idp-metadata.xml /opt/idpswitch/idp4-jetty12/idp-metadata.xml
326+ ```
315327
316328Note that this guide generally runs IdP 5 on Java 17 and IdP 4 on Java 11, but ` idp4-jetty12 ` is an exception because Jetty 12 requires Java 17.
317329
@@ -354,8 +366,11 @@ Edit `/opt/idp4-jetty10-base/src/main/resources/jetty-base/start.d/idp.ini` as f
354366
355367Create (or copy from this repo):
356368
357- TODO /opt/idpswitch/idp4-jetty10/run
358- TODO /opt/idpswitch/idp4-jetty10/idp-metadata.xml
369+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/opt/idpswitch/idp4-jetty10/run#L1
370+
371+ ``` shell
372+ sudo ln -s /opt/idp4/metadata/idp-metadata.xml /opt/idpswitch/idp4-jetty10/idp-metadata.xml
373+ ```
359374
360375Start the server and test if it works:
361376
@@ -397,8 +412,11 @@ Delete `/opt/idp4-jetty9-base/src/main/resources/jetty-base/start.d/idp-backchan
397412
398413Create (or copy from this repo):
399414
400- TODO /opt/idpswitch/idp4-jetty9/run
401- TODO /opt/idpswitch/idp4-jetty9/idp-metadata.xml
415+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/opt/idpswitch/idp4-jetty9/run#L1
416+
417+ ``` shell
418+ sudo ln -s /opt/idp4/metadata/idp-metadata.xml /opt/idpswitch/idp4-jetty9/idp-metadata.xml
419+ ```
402420
403421Start the server and test if it works:
404422
@@ -448,8 +466,11 @@ Edit `/opt/idp4-tomcat9-base/src/main/resources/tomcat-base/conf/server.xml` as
448466
449467Create (or copy from this repo):
450468
451- TODO /opt/idpswitch/idp4-tomcat9/run
452- TODO /opt/idpswitch/idp4-tomcat9/idp-metadata.xml
469+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/opt/idpswitch/idp4-tomcat9/run#L1
470+
471+ ``` shell
472+ sudo ln -s /opt/idp4/metadata/idp-metadata.xml /opt/idpswitch/idp4-tomcat9/idp-metadata.xml
473+ ```
453474
454475Start the server and test if it works:
455476
@@ -465,7 +486,7 @@ curl -v http://localhost:8080/idp/status
465486
466487Create (or copy from this repo):
467488
468- TODO / etc/systemd/system/idp.service
489+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/ etc/systemd/system/idp.service#L1-L10
469490
470491> [ !NOTE]
471492> This systemd service is good enough for local testing and development. But there might be some room for improvement in production.
@@ -512,7 +533,7 @@ sudo apt install apache2
512533
513534Create (or copy from this repo):
514535
515- TODO / etc/apache2/sites-available/idp.conf
536+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/ etc/apache2/sites-available/idp.conf#L1-L14
516537
517538> [ !NOTE]
518539> This Apache config is good enough for local testing and development. But there might be some room for improvement in production.
@@ -620,9 +641,9 @@ sudo systemctl restart idp
620641
621642Create (or copy from this repo):
622643
623- TODO / etc/apache2/sites-available/spmellon.conf
644+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/ etc/apache2/sites-available/spmellon.conf#L1-L27
624645
625- TODO / var/www/sp/sp.py
646+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/ var/www/sp/sp.py#L1-L61
626647
627648> [ !NOTE]
628649> Since both SP and IdP run on the same virtual machine, for convenience, I directly use the path to idp-metadata.xml in the SP config. In production, this XML file would, of course, be copied to the other machine.
@@ -659,7 +680,7 @@ We’ve learned that the Shibboleth IdP by default only provides an ugly transie
659680
660681Create (or copy from this repo):
661682
662- TODO / etc/apache2/sites-available/spmellon2.conf
683+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/ etc/apache2/sites-available/spmellon2.conf#L1-L27
663684
664685Edit both ` /opt/idp4/conf/metadata-providers.xml ` and ` /opt/idp5/conf/metadata-providers.xml ` and add the following at the bottom (just above the last line ` </MetadataProvider> ` ):
665686
@@ -697,9 +718,9 @@ Edit `/etc/shibboleth/shibboleth2.xml` as follows:
697718
698719Create (or copy from this repo):
699720
700- TODO / etc/apache2/sites-available/spshib.conf
721+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/ etc/apache2/sites-available/spshib.conf#L1-L22
701722
702- TODO / var/www/sp/sp.py
723+ https://github.com/fmfi-svt/saml-shibboleth-guide/blob/d0ef071335da12aa5f60cc0c7679781295551b2b/ var/www/sp/sp.py#L1-L61
703724
704725Edit ` /etc/apache2/conf-available/shib.conf ` as follows: change ` ShibCompatValidUser Off ` to ` ShibCompatValidUser On ` .
705726
0 commit comments