[java-identity-provider] 01/02: IDP-1332: Default LocalDynamicMetadataProviderParser to check modify...
Brent Putman
putmanb at georgetown.edu
Fri Sep 14 22:54:58 EDT 2018
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=cfc5d67a78b9d93afd1ce3f3c42fd96c4363c061
commit cfc5d67a78b9d93afd1ce3f3c42fd96c4363c061
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Fri Sep 14 21:55:39 2018 -0400
IDP-1332: Default LocalDynamicMetadataProviderParser to check modify...
---
.../relyingparty/metadata/impl/LocalDynamicMetadataProviderParser.java | 1 +
idp-schema/src/main/resources/schema/shibboleth-metadata.xsd | 3 +++
2 files changed, 4 insertions(+)
diff --git a/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/impl/LocalDynamicMetadataProviderParser.java b/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/impl/LocalDynamicMetadataProviderParser.java
index 672941b..ff989a4 100644
--- a/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/impl/LocalDynamicMetadataProviderParser.java
+++ b/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/impl/LocalDynamicMetadataProviderParser.java
@@ -74,6 +74,7 @@ public class LocalDynamicMetadataProviderParser extends AbstractDynamicMetadataP
BeanDefinitionBuilder.genericBeanDefinition(FilesystemLoadSaveManager.class);
sourceManagerBuilder.addConstructorArgValue(
StringSupport.trimOrNull(element.getAttributeNS(null, "sourceDirectory")));
+ sourceManagerBuilder.addPropertyValue("checkModifyTime", "true");
sourceManagerRefOrBean = sourceManagerBuilder.getBeanDefinition();
if (sourceKeyGeneratorRefOrBean == null) {
diff --git a/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd b/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd
index ca265c2..4738e62 100644
--- a/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd
+++ b/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd
@@ -667,6 +667,9 @@
Convenience mechanism for wiring a FilesystemLoadSaveManager loading from the specified
source directory in the local filesystem. This attribute will be ignored if
'sourceManagerRef' is also specified.
+
+ The manager will be configured to check and only return data for an entity if unmodified
+ since the last request, i.e. with the manager checkModifyTime=true.
The source key generator function, if otherwise unspecified, will default to generating
the SHA-1 digest (encoded as lower-case hexadecimal) of the input criteria entityID,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list