[java-identity-provider COMMIT] in /trunk: idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relying...
noreply at shibboleth.net
noreply at shibboleth.net
Tue Nov 18 04:05:46 EST 2014
Author: putmanb
Date: Tue Nov 18 04:05:45 2014
New Revision: 6930
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6930&view=rev
Log:
Some unit tests for dynamic metadata provider parser.
Fix inheritance typo in schema for dynamic metadata provider.
Added:
trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java (with props)
trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicBasicParams.xml (with props)
trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicDefaults.xml (with props)
trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicMetadataQueryProtocol.xml (with props)
trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicTemplate.xml (with props)
trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicWellKnown.xml (with props)
Modified:
trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml
trunk/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd
Modified: trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml?rev=6930&r1=6929&r2=6930&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml (original)
+++ trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml Tue Nov 18 04:05:45 2014
@@ -26,4 +26,25 @@
destroy-method="cancel" /> <!-- only needed if you do reloading -->
<bean id="shibboleth.SchemaBuilder" class="org.opensaml.saml.common.xml.SAMLSchemaBuilder" c:ver="SAML_11"/>
+
+ <bean id="shibboleth.VelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
+ <property name="overrideLogging" value="false"/>
+ <property name="velocityProperties">
+ <props>
+ <prop key="input.encoding">UTF-8</prop>
+ <prop key="output.encoding">UTF-8</prop>
+ <prop key="resource.loader">classpath, string</prop>
+ <prop key="classpath.resource.loader.class">
+ org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+ </prop>
+ <prop key="string.resource.loader.class">
+ org.apache.velocity.runtime.resource.loader.StringResourceLoader
+ </prop>
+ </props>
+ </property>
+ </bean>
+
+ <bean id="digester.SHA1HexLower" class="net.shibboleth.utilities.java.support.codec.StringDigester"
+ c:_0="SHA-1"
+ c:_1="HEX_LOWER"/>
</beans>
Modified: trunk/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd?rev=6930&r1=6929&r2=6930&view=diff
==============================================================================
--- trunk/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd (original)
+++ trunk/idp-schema/src/main/resources/schema/shibboleth-metadata.xsd Tue Nov 18 04:05:45 2014
@@ -321,7 +321,7 @@
<documentation>A metadata provider that dynamically fetches metadata from an HTTP server.</documentation>
</annotation>
<complexContent>
- <extension base="shibmd:MetadataProviderType">
+ <extension base="shibmd:DynamicMetadataProviderType">
<attribute name="httpClientRef" type="string">
<annotation>
<documentation>
More information about the commits
mailing list