Added unit tests for new ARP Constraint functionality.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 6 Jul 2006 22:07:13 +0000 (22:07 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 6 Jul 2006 22:07:13 +0000 (22:07 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1956 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

data/idp/blackbox/conf/constraints/arps/arp.site.xml [new file with mode: 0644]

diff --git a/data/idp/blackbox/conf/constraints/arps/arp.site.xml b/data/idp/blackbox/conf/constraints/arps/arp.site.xml
new file mode 100644 (file)
index 0000000..d650348
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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" >
+       <Description>Simple Constrained ARP.</Description>
+       <Rule>
+               <Constraint attributeName="urn:mace:dir:attribute-def:eduPersonPrincipalName">test-handle</Constraint>
+
+               <Target>
+                       <AnyTarget/>
+               </Target>
+
+               <Attribute name="urn:mace:dir:attribute-def:eduPersonEntitlement">
+                       <AnyValue release="permit"/>
+               </Attribute>
+               <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation">
+                       <AnyValue release="permit"/>
+               </Attribute>
+               <Attribute name="urn:mace:dir:attribute-def:eduPersonScopedAffiliation">
+                       <AnyValue release="permit"/>
+               </Attribute>
+       </Rule>
+</AttributeReleasePolicy>