[java-identity-provider] branch master updated: Add some CAS machinery to test configs for testbed use.

Scott Cantor cantor.2 at osu.edu
Tue Jun 25 11:53:25 EDT 2019


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=39c27e639024fee09bd4e1a8de15a8fdf7d65693

The following commit(s) were added to refs/heads/master by this push:
       new  39c27e6   Add some CAS machinery to test configs for testbed use.
39c27e6 is described below

commit 39c27e639024fee09bd4e1a8de15a8fdf7d65693
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jun 25 11:53:22 2019 -0400

    Add some CAS machinery to test configs for testbed use.
---
 idp-conf/src/test/resources/conf/global.xml               | 1 +
 idp-conf/src/test/resources/conf/relying-party.xml        | 2 ++
 idp-conf/src/test/resources/metadata/example-metadata.xml | 7 ++++++-
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/idp-conf/src/test/resources/conf/global.xml b/idp-conf/src/test/resources/conf/global.xml
index 93548df..dcbc143 100644
--- a/idp-conf/src/test/resources/conf/global.xml
+++ b/idp-conf/src/test/resources/conf/global.xml
@@ -53,6 +53,7 @@
     
     <util:set id="testbed.MetadataIndexes">
         <bean class="org.opensaml.saml.metadata.resolver.index.impl.SAMLArtifactMetadataIndex" />
+        <ref bean="shibboleth.CASMetadataIndices" />
     </util:set>
     
 	<jdbc:embedded-database id="testbed.PairwiseIdDataSource" generate-name="true">
diff --git a/idp-conf/src/test/resources/conf/relying-party.xml b/idp-conf/src/test/resources/conf/relying-party.xml
index c54b427..f467896 100644
--- a/idp-conf/src/test/resources/conf/relying-party.xml
+++ b/idp-conf/src/test/resources/conf/relying-party.xml
@@ -33,6 +33,8 @@
     <bean id="shibboleth.DefaultRelyingParty" parent="RelyingParty.MDDriven">
         <property name="profileConfigurations">
             <list>
+                <ref bean="CAS.LoginConfiguration.MDDriven" />
+                <ref bean="CAS.ValidateConfiguration.MDDriven" />
                 <ref bean="Shibboleth.SSO.MDDriven" />
                 <ref bean="SAML1.AttributeQuery.MDDriven" />
                 <ref bean="SAML1.ArtifactResolution.MDDriven" />
diff --git a/idp-conf/src/test/resources/metadata/example-metadata.xml b/idp-conf/src/test/resources/metadata/example-metadata.xml
index 19f6524..478828b 100644
--- a/idp-conf/src/test/resources/metadata/example-metadata.xml
+++ b/idp-conf/src/test/resources/metadata/example-metadata.xml
@@ -32,7 +32,7 @@
             </saml:Attribute>
 	    </mdattr:EntityAttributes>
     </Extensions>
-    <SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol" AuthnRequestsSigned="false">
+    <SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol https://www.apereo.org/cas/protocol">
         <Extensions>
             <mdui:UIInfo>
                 <mdui:DisplayName xml:lang="en">TEST SP (display Name)</mdui:DisplayName>
@@ -100,6 +100,8 @@ h+XNZ5oAql/cjrwDWw==
         
         <SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://localhost:8443/sp/SAML2/Redirect/SLO"/>
         
+        <SingleLogoutService Binding="https://www.apereo.org/cas/protocol/logout" Location="urn:mace:shibboleth:profile:CAS:logout"/>
+        
         <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://localhost/sp/SAML2/POST/ACS" index="1"/>
         <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://localhost:8443/sp/SAML2/POST/ACS" index="2"/>
         <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="http://localhost/sp/SAML2/POST/ACS" index="3"/>
@@ -111,6 +113,9 @@ h+XNZ5oAql/cjrwDWw==
         <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="http://localhost:8080/sp/SAML1/POST/ACS" index="9"/>
         <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://localhost:8443/sp/SAML1/POST/ACS" index="10"/>
         <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://localhost:8443/sp/SAML1/Artifact/ACS" index="11"/>
+        
+        <AssertionConsumerService Binding="https://www.apereo.org/cas/protocol/login" Location="https://localhost:8443/sp" index="12"/>
+            
         <AttributeConsumingService isDefault="true" index="1">
             <ServiceName xml:lang="en">Service Name</ServiceName>
             <RequestedAttribute FriendlyName="displayName"

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


More information about the commits mailing list