Merge pull request #33 from dBucik/saml_metadata_checks

Saml metadata checks
pull/1580/head
Dominik František Bučík 2021-11-09 11:27:01 +01:00 committed by GitHub
commit d5079cfe97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -561,8 +561,8 @@
<bean id="metadata" class="org.springframework.security.saml.metadata.CachingMetadataManager">
<property name="defaultIDP" value="${saml.idp.defaultIdpEntityId}"/>
<property name="refreshCheckInterval" value="60000"/>
<property name="refreshRequired" value="false"/>
<property name="refreshCheckInterval" value="3600000"/>
<property name="refreshRequired" value="true"/>
<constructor-arg name="providers">
<list>
<ref bean="idpMetadata"/>

View File

@ -38,7 +38,10 @@ public class IdpMetadataBeans {
fsmp.setParserPool(parserPool);
mp = fsmp;
}
return new ExtendedMetadataDelegate(mp, extendedMetadata);
ExtendedMetadataDelegate emd = new ExtendedMetadataDelegate(mp, extendedMetadata);
emd.setMetadataRequireSignature(false);
emd.setMetadataTrustCheck(false);
return emd;
}
}