Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
de:shibidp3attributes-uniqueid [2017/02/27 15:36]
Raoul Gunnar Borenius
de:shibidp3attributes-uniqueid [2019/04/02 09:07] (aktuell)
Silke Meyer
Zeile 4: Zeile 4:
  
 <file xml /​opt/​shibboleth-idp/​conf/​attribute-resolver.xml>​ <file xml /​opt/​shibboleth-idp/​conf/​attribute-resolver.xml>​
-<resolver:AttributeDefinition xsi:​type="​ad:Script" id="​eduPersonUniqueId">​ +<​AttributeDefinition xsi:​type="​ScriptedAttribute" id="​eduPersonUniqueId">​ 
-    <resolver:​Dependency ​ref="​staticAttributes"​ /> +    <InputDataConnector ​ref="​staticAttributes" attributeNames="​eduPersonUniqueId"/>​ 
-    <resolver:​Dependency ​ref="​uid"​ /> +    <InputAttributeDefinition ​ref="​uid"​ /> 
-    <resolver:DisplayName xml:​lang="​en">​Unique ID</resolver:DisplayName>​ +    <​DisplayName xml:​lang="​en">​Unique ID</​DisplayName>​ 
-    <resolver:DisplayName xml:​lang="​de">​Eindeutige ID</resolver:DisplayName>​ +    <​DisplayName xml:​lang="​de">​Eindeutige ID</​DisplayName>​ 
-    <resolver:DisplayDescription xml:​lang="​en">​Unique ID: A unique identifier ​ +    <​DisplayDescription xml:​lang="​en">​Unique ID: A unique identifier for a person, mainly for inter-institutional user identification</​DisplayDescription>​ 
-       for a person, mainly for inter-institutional user identification</​resolver:DisplayDescription>​ +    <​DisplayDescription xml:​lang="​de">​Eindeutige Nutzerkennung</​DisplayDescription>​ 
-    <resolver:DisplayDescription xml:​lang="​de">​Eindeutige Nutzerkennung</​resolver:DisplayDescription>​ +    <​AttributeEncoder xsi:​type="​SAML2String"​ name="​urn:​oid:​1.3.6.1.4.1.5923.1.1.1.13"​ friendlyName="​eduPersonUniqueId"​ /> 
-    <resolver:AttributeEncoder xsi:​type="​enc:SAML2String"​ +    <​Script><​![CDATA[
-              ​name="​urn:​oid:​1.3.6.1.4.1.5923.1.1.1.13"​ friendlyName="​eduPersonUniqueId"​ /> +
-    <ad:Script><​![CDATA[+
         // Java 7:         // Java 7:
         //​importPackage(Packages.org.apache.commons.codec.digest);​         //​importPackage(Packages.org.apache.commons.codec.digest);​
Zeile 36: Zeile 34:
         eduPersonUniqueId.getValues().add(localpart + "​@%{idp.scope}"​); ​             eduPersonUniqueId.getValues().add(localpart + "​@%{idp.scope}"​); ​    
         ]]>         ]]>
-    </ad:Script>​ +    </​Script>​ 
-</resolver:AttributeDefinition>​+</​AttributeDefinition>​
  
 <!-- ... --> <!-- ... -->
Zeile 45: Zeile 43:
 <!-- ========================================== --> <!-- ========================================== -->
  
-<resolver:DataConnector id="​staticAttributes"​ xsi:​type="​dc:Static">​+<​DataConnector id="​staticAttributes"​ xsi:​type="​Static">​
     <!-- ... -->     <!-- ... -->
     <!-- kleiner Trick um Java-Versions-unabhängig Attribut-Variablen für     <!-- kleiner Trick um Java-Versions-unabhängig Attribut-Variablen für
          die Scripted-Attribute-Definitionen in dieser Datei zu          die Scripted-Attribute-Definitionen in dieser Datei zu
          ​initialisieren -->          ​initialisieren -->
-    <dc:Attribute id="​eduPersonUniqueId">​ +    <​Attribute id="​eduPersonUniqueId">​ 
-        <dc:Value>​dummy</​dc:Value> +        <​Value>​dummy</​Value>​ 
-    </dc:Attribute>​ +    </​Attribute>​ 
-</resolver:DataConnector>​+</​DataConnector>​
  
 </​file>​ </​file>​
  
  • Zuletzt geändert: vor 3 Monaten