Implemented Scott's suggestions for the credential loader:
[java-idp.git] / data / arp7.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <AttributeReleasePolicy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mace:shibboleth:arp:1.0" xsi:schemaLocation="urn:mace:shibboleth:arp:1.0 shibboleth-arp-1.0.xsd" >
3         <Description>A specific SHAR and a regex resource.</Description>
4         <Rule>
5                 <Target>
6                         <Requester>shar.example.edu</Requester>
7                         <Resource matchFunction="urn:mace:shibboleth:arp:matchFunction:regexMatch">^https?://.+\.example\.edu/.*$</Resource>
8                 </Target>
9                 <Attribute name="urn:mace:dir:attribute-def:eduPersonPrincipalName">
10                         <AnyValue release="permit"/>
11                 </Attribute>
12                 <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation">
13                         <Value release="permit">member@example.edu</Value>
14                 </Attribute>
15         </Rule>
16 </AttributeReleasePolicy>