[teiid-issues] [JBoss JIRA] (TEIID-3561) Support HTTP Basic Digest mode in Web Service connector

Ramesh Reddy (JIRA) issues at jboss.org
Mon Jul 6 14:04:01 EDT 2015


Ramesh Reddy created TEIID-3561:
-----------------------------------

             Summary: Support HTTP Basic Digest mode in Web Service connector
                 Key: TEIID-3561
                 URL: https://issues.jboss.org/browse/TEIID-3561
             Project: Teiid
          Issue Type: Enhancement
          Components: Misc. Connectors
            Reporter: Ramesh Reddy
            Assignee: Ramesh Reddy


Currently the the ra.xml configuration does not support "digest" based authentication. The workaround is to define it in the cxf configuration file as

{code}
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:cxf="http://cxf.apache.org/core"
    xmlns:jaxrs="http://cxf.apache.org/jaxrs"
    xmlns:sec="http://cxf.apache.org/configuration/security"
    xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
    xsi:schemaLocation="http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">
  
    <http-conf:conduit name="*.http-conduit">
        <http-conf:client ConnectionTimeout="120000" ReceiveTimeout="240000"/>
        <http-conf:tlsClientParameters secureSocketProtocol="TLS">
            <!--
            <sec:keyManagers keyPassword="changeit">
                <sec:keyStore type="JKS" password="changeit" file="/home/rareddy/testing/vtw.pem"/>
            </sec:keyManagers>
                    
          <sec:trustManagers>
            <sec:keyStore type="JKS" password="changeit" file="/home/rareddy/testing/vtw.pem"/>
          </sec:trustManagers>
          -->
        </http-conf:tlsClientParameters>

        <http-conf:authorization>
          <sec:UserName>user</sec:UserName>
          <sec:Password>password</sec:Password>
          <sec:AuthorizationType>Digest</sec:AuthorizationType>
        </http-conf:authorization>                
    </http-conf:conduit>    
    <!--
	<cxf:bus>
		<cxf:features>
			<cxf:logging />
		</cxf:features>
	</cxf:bus>
	-->
</beans>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the teiid-issues mailing list