Default policy
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 28 Feb 2003 21:22:53 +0000 (21:22 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 28 Feb 2003 21:22:53 +0000 (21:22 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@316 cb58f699-b61c-0410-a6fe-9272a202ed29

configs/AAP.xml [new file with mode: 0644]

diff --git a/configs/AAP.xml b/configs/AAP.xml
new file mode 100644 (file)
index 0000000..3c54cf1
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<AttributeAcceptancePolicy xmlns="urn:mace:eduPerson:1.0">
+       
+       <!--
+       An AAP is a set of AttributeRule elements, each one
+       referencing a specific attribute by URI. All attributes that
+       are implemented via the SimpleAttribute plugin class must be
+       listed in the file or they will be filtered.
+       -->
+       
+       <AttributeRule Name="urn:mace:eduPerson:1:0:eduPersonEntitlement">
+
+               <!--
+               Optional site rule that applies to any site
+               <AnySite>
+                       <Value>urn:mace:InCommon:sampleEntitlement</Value> <-- a literal test
+                       <Value Type="regexp">^.+$</Value>       <-- any value
+               </AnySite>
+               -->
+               
+               <!-- Specific rules for an origin site, these are just development/sample sites. -->
+               <SiteRule Name="example.edu">
+                       <Value>urn:mace:InCommon:sampleEntitlement</Value>
+                       <Value Type="regexp">^urn:mace:.+$</Value>
+               </SiteRule>
+               <SiteRule Name="shibdev.edu">
+                       <Value>urn:mace:InCommon:sampleEntitlement</Value>
+                       <Value Type="regexp">^urn:mace:.+$</Value>
+               </SiteRule>
+       </AttributeRule>
+
+</AttributeAcceptancePolicy>