Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<resolver:AttributeDefinition id="norEduPersonNIN" xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad" sourceAttributeID="norEduPersonNIN">
   <resolver:Dependency ref="myLDAP" />
   <resolver:DisplayName xml:lang="en">Swedish civic registration number</resolver:DisplayName>
   <resolver:DisplayName xml:lang="sv">Personnummer</resolver:DisplayName>
</resolver:AttributeDefinition>

Modifiera filen attribute-filter.xml enligt:

...

Code Block
<AttributeFilterPolicy id="releaseNorEduPersonNIN>
   <PolicyRequirementRule xsi:type="basic:OR">
      <basic:Rule xsi:type="basic:AttributeRequesterString"  value="https://www.studera.nu/shibboleth-sp" />
      <basic:Rule xsi:type="basic:AttributeRequesterString"  value="https://www.antagning.se/shibboleth-sp" />
      <basic:Rule xsi:type="basic:AttributeRequesterString"  value="https://www.studera.testa.antagning.se/shibboleth-sp" />
      <basic:Rule xsi:type="basic:AttributeRequesterString"  value="https://www.studera.testb.antagning.se/shibboleth-sp" />
      <basic:Rule xsi:type="basic:AttributeRequesterString"  value="https://sp.swamid.se/shibboleth" />
   </PolicyRequirementRule>
    <AttributeRule  attributeID="norEduPersonNIN">
      <PermitValueRule xsi:type="basic:ANY" />
   </AttributeRule>
</AttributeFilterPolicy>