Page History
...
Code Block | ||
---|---|---|
| ||
<resolver:AttributeDefinition id="matrikelMapping" xsi:type="Mapped" xmlns="urn:mace:shibboleth:2.0:resolver:ad" dependencyOnly="true" sourceAttributeID="uid"> <resolver:Dependency ref="myLDAP" /> <ValueMap> <ReturnValue>urn:schac:personalUniqueCode:int:studentID:AT:$1</ReturnValue> <SourceValue>^x([0-9]{7})$</SourceValue> </ValueMap> </resolver:AttributeDefinition> <resolver:AttributeDefinition id="matrikel" xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad" sourceAttributeID="matrikelMapping"> <resolver:Dependency ref="matrikelMapping" /> <resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder" name="urn:oid:1.3.6.1.4.1.25178.1.2.14" friendlyName="schacPersonalUniqueCode" /> </resolver:AttributeDefinition> |
...
Code Block | ||
---|---|---|
| ||
<AttributeFilterPolicy<afp:AttributeFilterPolicy id="TestSPMatrikel"> <PolicyRequirementRule<afp:PolicyRequirementRule xsi:type="basic:AND"> <basic:Rule xsi:type="basic:AttributeRequesterString" value="https://test-sp.aco.net/shibboleth" /> <basic:Rule xsi:type="basic:AttributeValueString" attributeID="eduPersonAffiliation" value="student" /> </afp:PolicyRequirementRule> <AttributeRule<afp:AttributeRule attributeID="matrikel"> <PermitValueRule<afp:PermitValueRule xsi:type="basic:AttributeValueRegex" regex="^urn:schac:personalUniqueCode:int:studentID:AT:[0-9]{7}$" /> </afp:AttributeRule> </afp:AttributeFilterPolicy> |
Overview
Content Tools
Tasks