Fragen an die Dozent/innen: können wir die relying-party datei doch konfigurien? Unterlagen & VM zum Workshop: https://download.aai.dfn.de/ws/2018_fub/ log files : /var/log/tomcat8/catalina.out /opt/shibboleth-idp/logs/idp-process.log Übung 1: Datei /opt/shibboleth-idp/conf/logback.xml anpassen: curl https://idp.local/idp/profile/admin/reload-service?id=shibboleth.LoggingService siehe https://wiki.shibboleth.net/confluence/display/IDP30/ReloadableServices Übung 2: Datei /opt/shibboleth-idp/conf/attribute-resolver.xml anpassen: Vorher abhängig von myLDAP (von dort werden die bereits gescopten Daten geholt): Jetzt werden die Daten von 'eduPersonAffiliation' geholt und zusätzlich mit einem Scope angereichert: eduPersonScopedAffiliation war vorher schon scoped und hatte bereits den scope="{idp.scope}"... noch Übung 2: die sourecAttriuteID kann mit angegeben werden, in vielen Fällen muss sie vorhanden sein, in diesem Beispiel nicht, tut aber auch nicht weh: Affiliation type (with institution) Zugehörigkeit (+ Einrichtung) Type of affiliation with Home Organization with scope Art der Zugehörigkeit zur Heimateinrichtung mit Geltungsbereich Testen mit: curl "https://idp.local/idp/profile/admin/resolvertest?requester=https://sp1.local/shibboleth&principal=pingel&saml2" Übung 3: Datei /opt/shibboleth-idp/conf/attribute-filter.xml anpassen: Testen mit:: curl "https://idp.local/idp/profile/admin/resolvertest?requester=https://sp1.local/shibboleth&principal=pingel&saml2" https://idp.local/idp/shibboleth NMTR6SVZOCUWF5MNGDDIYQQBY4QCB76N ldapblubaffiliation@local employee@local member@local staff@local Lösung 4: Datei /opt/shibboleth-idp/conf/attribute-resolver.xml anpassen: und Datei /opt/shibboleth-idp/conf/attribute-filter.xml anpassen: Lösung 5: Datei attribute-resolver.xml anpassen: Datei attribute-filter.xml anpassen: Test für sp1: https://idp.local/idp/shibboleth ZBMAAJIQSD5FFOU7Q3OCTV3M2K5H57J6 urn:mace:dir:common-lib-terms employee@local member@local staff@local Test für sp2: https://idp.local/idp/shibboleth GUD2KCXZX2VIX3SCQVJOLCAPC3LGDOIW https://sp2.local/entitlement/politologie urn:mace:dir:common-lib-terms pingel maria.pingel@nodomain.local employee@local member@local staff@local Pingel EntityIDd des anfragenden SPs im Script bestimmen: