Fix up replay cache and message replay rule test
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 6 Sep 2007 14:11:22 +0000 (14:11 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 6 Sep 2007 14:11:22 +0000 (14:11 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2370 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

resources/conf/internal.xml
test/data/conf1/internal.xml
test/data/conf1/relying-party.xml

index 4136554..b4aabd3 100644 (file)
         <constructor-arg ref="shibboleth.StorageService" />
         <constructor-arg type="long" value="300000" />
     </bean>
+    
+    <bean id="shibboleth.ReplayCache" class="org.opensaml.util.storage.ReplayCache">
+        <constructor-arg ref="shibboleth.StorageService" />
+        <constructor-arg type="long" value="300000" />
+    </bean>
 
     <util:map id="shibboleth.MessageDecoders">
         <entry>
index b816264..1a3c97d 100644 (file)
         <constructor-arg ref="shibboleth.StorageService" />
         <constructor-arg type="long" value="300000" />
     </bean>
+    
+    <bean id="shibboleth.ReplayCache" class="org.opensaml.util.storage.ReplayCache">
+        <constructor-arg ref="shibboleth.StorageService" />
+        <constructor-arg type="long" value="300000" />
+    </bean>
 
     <util:map id="shibboleth.MessageDecoders">
         <entry>
index 5014a1c..3a4f505 100644 (file)
     <!--     Security Configurations                -->
     <!-- ========================================== -->
     <security:SecurityPolicy id="shibboleth.DefaultSecurityPolicy" xsi:type="security:SecurityPolicyType">
-    <!-- 
         <security:Rule xsi:type="samlsec:SAML1Protocol"/>
         <security:Rule xsi:type="samlsec:SAML2Protocol"/>
+        <security:Rule xsi:type="samlsec:Replay"/>
         <security:Rule xsi:type="samlsec:IssueInstant"/>
         <security:Rule xsi:type="samlsec:MandatoryIssuer"/>
-    -->
     </security:SecurityPolicy>
 </RelyingPartyGroup>
\ No newline at end of file