Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docpublic:systemes:shibboleth:idpv2 [2010/05/11 20:17]
PROCACCIA
docpublic:systemes:shibboleth:idpv2 [2010/05/11 20:20] (current)
PROCACCIA
Line 848: Line 848:
  
 === Construction d'attributs === === Construction d'attributs ===
 +
 +== Mapped ==
  
 Si l'annuaire n'est pas encore compatible supann/eduperson , on peux creer des attribut compatibles (ici eduPersonAffiliation) sur la base d'attributs pre-existants (ici employeeType) . Si l'annuaire n'est pas encore compatible supann/eduperson , on peux creer des attribut compatibles (ici eduPersonAffiliation) sur la base d'attributs pre-existants (ici employeeType) .
Line 889: Line 891:
  
  
 +== Expression reguliere ==
 +
 +construction d'un attribut sur la base d'une dn de branche ldap => split REgex :
 +
 +<code>
 +<!-- https://spaces.internet2.edu/display/SHIB2/ResolverRegexSplitAttributeDefinition -->
 +<resolver:AttributeDefinition xsi:type="RegexSplit" xmlns="urn:mace:shibboleth:2.0:resolver:ad"
 +                              id="employeeType"
 +                              sourceAttributeID="distinguishedName"
 +                              regex=".*,OU=([^,]*),DC=people,DC=mysite,DC=fr">
 +        <resolver:Dependency ref="tl1AD" />
 +     <!-- Remaining configuration from the next step goes here -->
 +        <resolver:AttributeEncoder xsi:type="SAML1String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
 +            name="urn:mace:dir:attribute-def:employeeType" />
 +        <resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
 +            name="urn:oid:2.16.840.1.113730.3.1.4" friendlyName="employeeType" />
 +</resolver:AttributeDefinition>
 +</code>
  
 ===== Test de l'IDP ===== ===== Test de l'IDP =====
docpublic/systemes/shibboleth/idpv2.1273609050.txt.gz ยท Last modified: 2010/05/11 20:17 by PROCACCIA
[unknown link type]Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0