[java-identity-provider] branch master updated: Enable artifact indexing for testbed metadata.
Scott Cantor
cantor.2 at osu.edu
Mon Oct 1 13:34:52 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor 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=1c1d0c8d7091417629c03b0f1dba2b64d01f9f2f
The following commit(s) were added to refs/heads/master by this push:
new 1c1d0c8 Enable artifact indexing for testbed metadata.
1c1d0c8 is described below
commit 1c1d0c8d7091417629c03b0f1dba2b64d01f9f2f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 1 13:34:33 2018 -0400
Enable artifact indexing for testbed metadata.
---
idp-conf/src/test/resources/conf/global.xml | 56 ++++++++++++++++++++++
.../src/test/resources/conf/metadata-providers.xml | 4 +-
2 files changed, 58 insertions(+), 2 deletions(-)
diff --git a/idp-conf/src/test/resources/conf/global.xml b/idp-conf/src/test/resources/conf/global.xml
new file mode 100644
index 0000000..37dc0c3
--- /dev/null
+++ b/idp-conf/src/test/resources/conf/global.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xmlns:p="http://www.springframework.org/schema/p"
+ xmlns:c="http://www.springframework.org/schema/c"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
+
+ default-init-method="initialize"
+ default-destroy-method="destroy">
+
+ <!-- Use this file to define any custom beans needed globally. -->
+
+ <!--
+ Algorithm whitelists and blacklists that override or merge with library defaults. Normally you can leave
+ these empty or commented and use the system defaults, but you can override those defaults using these lists.
+ Each <value> element is an algorithm URI, or you can use <util:constant> elements in place of literal values.
+ -->
+
+ <!--
+ <util:list id="shibboleth.SignatureWhitelist">
+ </util:list>
+
+ <util:list id="shibboleth.SignatureBlacklist">
+ </util:list>
+
+ <util:list id="shibboleth.EncryptionWhitelist">
+ </util:list>
+
+ <util:list id="shibboleth.EncryptionBlacklist">
+ </util:list>
+ -->
+
+ <!--
+ If you need to define and inject custom Java object(s) into the various views used throughout the
+ system (errors, login, logout, etc.), you can uncomment and define the bean below to be of any
+ type required. It will appear in the view scope as a variable named "custom".
+
+ The example below defines the bean as a map, which allows you to inject multiple objects under
+ named keys to expand the feature to support multiple injected objects.
+ -->
+
+ <!--
+ <util:map id="shibboleth.CustomViewContext">
+ <entry key="foo" value="bar"/>
+ </util:map>
+ -->
+
+ <util:set id="testbed.MetadataIndexes">
+ <bean class="org.opensaml.saml.metadata.resolver.index.impl.SAMLArtifactMetadataIndex" />
+ </util:set>
+
+</beans>
diff --git a/idp-conf/src/test/resources/conf/metadata-providers.xml b/idp-conf/src/test/resources/conf/metadata-providers.xml
index 55e373d..aeca791 100644
--- a/idp-conf/src/test/resources/conf/metadata-providers.xml
+++ b/idp-conf/src/test/resources/conf/metadata-providers.xml
@@ -20,7 +20,7 @@
<!-- Example metadata provider. -->
- <MetadataProvider id="URLMD" xsi:type="ResourceBackedMetadataProvider" maxRefreshDelay="PT5M">
+ <MetadataProvider id="URLMD" xsi:type="ResourceBackedMetadataProvider" maxRefreshDelay="PT5M" indexesRef="testbed.MetadataIndexes">
<MetadataFilter xsi:type="SignatureValidation" requireSignedRoot="false"> <!-- TODO -->
<PublicKey>
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxg0TyQAP/tIvOH89EtaX
@@ -52,7 +52,7 @@
<MetadataResource xsi:type="resource:ClasspathResource" file="/metadata/example-metadata.xml" />
</MetadataProvider>
- <MetadataProvider id="SP123MD" xsi:type="ResourceBackedMetadataProvider" maxRefreshDelay="PT5M">
+ <MetadataProvider id="SP123MD" xsi:type="ResourceBackedMetadataProvider" maxRefreshDelay="PT5M" indexesRef="testbed.MetadataIndexes">
<MetadataResource xsi:type="resource:ClasspathResource" file="/metadata/example-sp123-metadata.xml" />
</MetadataProvider>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list