Create parser pool interface and move current pool to an implementation of this inter...
[java-idp.git] / tests / data / example12.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>Rule with matching functions set for values.</Description>
4         <Rule>
5                 <Target>
6                         <AnyTarget/>
7                 </Target>
8                 <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation">
9                         <AnyValue release="permit"/>
10                         <Value release="deny" matchFunction="urn:mace:shibboleth:arp:matchFunction:regexMatch">^.+@example.edu$</Value>
11                 </Attribute>
12                 <Attribute name="urn:mace:dir:attribute-def:eduPersonEntitlement">
13                         <Value release="permit" matchFunction="urn:mace:shibboleth:arp:matchFunction:regexMatch">^urn:x:1:.+$</Value>
14                 </Attribute>
15         </Rule>
16 </AttributeReleasePolicy>