Create parser pool interface and move current pool to an implementation of this inter...
[java-idp.git] / tests / data / example10.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>Combining a few Rules that might apply to the same target.</Description>
4         <Rule>
5                 <Target>
6                         <AnyTarget/>
7                 </Target>
8                 <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation">
9                         <Value release="permit">member@example.edu</Value>
10                 </Attribute>
11         </Rule>
12         <Rule>
13                 <Target>
14                         <Requester matchFunction="urn:mace:shibboleth:arp:matchFunction:regexMatch">shar[1-9]\.example\.edu</Requester>
15                 </Target>
16                 <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation">
17                         <Value release="permit">faculty@example.edu</Value>
18                 </Attribute>
19         </Rule>
20         <Rule>
21                 <Target>
22                         <Requester>shar.example.edu</Requester>
23                 </Target>
24                 <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation">
25                         <Value release="deny">faculty@example.edu</Value>
26                 </Attribute>
27         </Rule>
28         <Rule>
29                 <Target>
30                         <Requester>shar.example.edu</Requester>
31                 </Target>
32                 <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation">
33                         <AnyValue release="permit"/>
34                 </Attribute>
35         </Rule>
36 </AttributeReleasePolicy>