Use new metadata methods instead of deprecated ones
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 20 May 2010 22:56:25 +0000 (22:56 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 20 May 2010 22:56:25 +0000 (22:56 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2931 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/main/java/edu/internet2/middleware/shibboleth/idp/profile/SAMLMetadataProfileHandler.java

index 21ccc7b..1fe38f6 100644 (file)
@@ -60,7 +60,7 @@ public class SAMLMetadataProfileHandler extends AbstractRequestURIMappedProfileH
         try {
             metadataProvider = new FilesystemMetadataProvider(new File(metadataFile));
             metadataProvider.setParserPool(pool);
-            metadataProvider.setMaintainExpiredMetadata(true);
+            metadataProvider.setRequireValidMetadata(false);
             metadataProvider.initialize();
         } catch (Exception e) {
             log.error("Unable to read metadata file " + metadataFile, e);