correct a couple typos in example files
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 3 Dec 2007 17:08:59 +0000 (17:08 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 3 Dec 2007 17:08:59 +0000 (17:08 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2485 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

resources/conf/attribute-filter.xml
resources/conf/attribute-resolver.xml

index b48d4ce..62ef439 100644 (file)
@@ -17,7 +17,7 @@
     <AttributeFilterPolicy id="releaseTransientIdToAnyone">
         <PolicyRequirementRule xsi:type="basic:ANY" />
 
-        <AttributeRule attributeID="transientId">
+        <AttributeRule attributeId="transientId">
             <PermitValueRule xsi:type="basic:ANY" />
         </AttributeRule>
 
@@ -35,7 +35,7 @@
             <basic:Rule xsi:type="AttributeRequesterInEntityGroup" groupId="urn:mace:switch.ch:SWITCHaai" />
         </PolicyRequirementRule>
 
-        <AttributeRule attributeId="entitlment">
+        <AttributeRule attributeId="entitlement">
             <PermitValueRule xsi:type="basic:ANY" />
         </AttributeRule>
 
index 991b9bf..26caa25 100644 (file)
     </resolver:DataConnector>
 
     <!-- Example Relational Database Connector -->
-    <resolver:DataConnector id="mySIS" xsi:type="RelationalDatabase" xmlns="urn:mace:shibboleth:2.0:resolver:dc">
+    <resolver:DataConnector id="mySIS" xsi:type="RelationalDatabase" xmlns="urn:mace:shibboleth:2.0:resolver:dc"
+        validationQuery="SELECT 1 FROM DUAL">
         <ApplicationManagedConnection jdbcDriver="oracle.jdbc.driver.OracleDriver"
             jdbcUrl="jdbc:oracle:thin:@db.example.org:1521:SomeDB" jdbcUserName="myid" jdbcPassword="mypassword" />
         <QueryTemplate>