[java-identity-provider] 05/08: SOAP client wiring updates for SAML role and protocol handler changes.

Brent Putman putmanb at georgetown.edu
Fri Sep 21 22:49:10 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=b5035b5821ea4198928cafce01cc0d5d2380048c

commit b5035b5821ea4198928cafce01cc0d5d2380048c
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Thu Sep 20 00:27:24 2018 -0400

    SOAP client wiring updates for SAML role and protocol handler changes.
---
 idp-conf/src/main/resources/system/conf/soap-client.xml | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/idp-conf/src/main/resources/system/conf/soap-client.xml b/idp-conf/src/main/resources/system/conf/soap-client.xml
index afe2261..ed2613e 100644
--- a/idp-conf/src/main/resources/system/conf/soap-client.xml
+++ b/idp-conf/src/main/resources/system/conf/soap-client.xml
@@ -97,14 +97,8 @@
                     
                         <bean scope="prototype" class="org.opensaml.saml.common.binding.security.impl.CheckAndRecordServerTLSEntityAuthenticationtHandler" />
 
-                        <!--  TODO -->
-                        <bean scope="prototype" class="org.opensaml.saml.common.binding.impl.SAMLProtocolAndRoleHandler" >
-                            <property name="protocol">
-                                <util:constant static-field="org.opensaml.saml.common.xml.SAMLConstants.SAML20P_NS" />
-                            </property>
-                            <property name="role">
-                                <util:constant static-field="org.opensaml.saml.saml2.metadata.SPSSODescriptor.DEFAULT_ELEMENT_NAME" />
-                            </property>
+                        <bean scope="prototype" class="org.opensaml.saml.common.binding.impl.SAMLProtocolAndRoleHandler" 
+                            p:copyContextLookup-ref="SOAPClient.OperationContextLookup">
                         </bean>
                         
                         <bean scope="prototype" class="org.opensaml.xmlsec.messaging.impl.PopulateSignatureValidationParametersHandler"
@@ -143,6 +137,11 @@
     
     
     <!--  Supporting beans. -->
+    
+    <bean id="SOAPClient.OperationContextLookup" 
+        class="org.opensaml.messaging.context.navigate.RecursiveTypedParentContextLookup" 
+        c:targetClass="#{T(org.opensaml.messaging.context.InOutOperationContext)}" />
+    
     <bean id="SOAPClient.SOAPClientSecurityProfileIdLookup" 
         class="org.opensaml.soap.client.security.SOAPClientSecurityProfileIdLookupFunction" />
     

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


More information about the commits mailing list