[java-identity-provider] branch maint-3.4 updated: Better code exercising in tests.

Scott Cantor cantor.2 at osu.edu
Wed Sep 4 15:28:08 EDT 2019


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch maint-3.4
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=d2843710459d05493c27db4aa830cfb26b35d23d

The following commit(s) were added to refs/heads/maint-3.4 by this push:
       new  d284371   Better code exercising in tests.
d284371 is described below

commit d2843710459d05493c27db4aa830cfb26b35d23d
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Sep 4 15:28:10 2019 -0400

    Better code exercising in tests.
---
 idp-conf/src/test/resources/conf/relying-party.xml     |  3 +++
 .../src/test/resources/test/test-relying-party-cas.xml | 18 +++++++++---------
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/idp-conf/src/test/resources/conf/relying-party.xml b/idp-conf/src/test/resources/conf/relying-party.xml
index c54b427..06f4f57 100644
--- a/idp-conf/src/test/resources/conf/relying-party.xml
+++ b/idp-conf/src/test/resources/conf/relying-party.xml
@@ -41,6 +41,9 @@
                 <ref bean="SAML2.Logout.MDDriven" />
                 <ref bean="SAML2.AttributeQuery.MDDriven" />
                 <ref bean="SAML2.ArtifactResolution.MDDriven" />
+                <ref bean="CAS.LoginConfiguration.MDDriven" />
+                <ref bean="CAS.ProxyConfiguration.MDDriven" />
+                <ref bean="CAS.ValidateConfiguration.MDDriven" />
             </list>
         </property>
     </bean>
diff --git a/idp-conf/src/test/resources/test/test-relying-party-cas.xml b/idp-conf/src/test/resources/test/test-relying-party-cas.xml
index 512a2dc..1112b3a 100644
--- a/idp-conf/src/test/resources/test/test-relying-party-cas.xml
+++ b/idp-conf/src/test/resources/test/test-relying-party-cas.xml
@@ -18,9 +18,9 @@
     <bean id="shibboleth.DefaultRelyingParty" parent="RelyingParty">
         <property name="profileConfigurations">
             <list>
-                <ref bean="CAS.LoginConfiguration" />
-                <ref bean="CAS.ProxyConfiguration" />
-                <ref bean="CAS.ValidateConfiguration" />
+                <ref bean="CAS.LoginConfiguration.MDDriven" />
+                <ref bean="CAS.ProxyConfiguration.MDDriven" />
+                <ref bean="CAS.ValidateConfiguration.MDDriven" />
             </list>
         </property>
     </bean>
@@ -29,18 +29,18 @@
         <bean parent="RelyingPartyByName" c:relyingPartyIds="https://alt-username.example.org/">
             <property name="profileConfigurations">
                 <list>
-                    <ref bean="CAS.LoginConfiguration" />
-                    <ref bean="CAS.ProxyConfiguration" />
-                    <bean parent="CAS.ValidateConfiguration" p:userAttribute="mail" />
+                    <ref bean="CAS.LoginConfiguration.MDDriven" />
+                    <ref bean="CAS.ProxyConfiguration.MDDriven" />
+                    <bean parent="CAS.ValidateConfiguration.MDDriven" p:userAttribute="mail" />
                 </list>
             </property>
         </bean>
         <bean parent="RelyingPartyByName" c:relyingPartyIds="https://no-attrs.example.org/">
             <property name="profileConfigurations">
                 <list>
-                    <ref bean="CAS.LoginConfiguration" />
-                    <ref bean="CAS.ProxyConfiguration" />
-                    <bean parent="CAS.ValidateConfiguration" p:resolveAttributes="false" />
+                    <ref bean="CAS.LoginConfiguration.MDDriven" />
+                    <ref bean="CAS.ProxyConfiguration.MDDriven" />
+                    <bean parent="CAS.ValidateConfiguration.MDDriven" p:resolveAttributes="false" />
                 </list>
             </property>
         </bean>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list