[teiid-issues] [JBoss JIRA] (TEIID-3493) Use certificates in Salesforce SOAP API calls

Ramesh Reddy (JIRA) issues at jboss.org
Fri Sep 4 15:54:00 EDT 2015


    [ https://issues.jboss.org/browse/TEIID-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105846#comment-13105846 ] 

Ramesh Reddy commented on TEIID-3493:
-------------------------------------

BTW, all the user needs to do to use this option is to set up a HTTPS cxf configuration file as 

{code}
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    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-conf:conduit name="*.http-conduit">
        <http-conf:client ConnectionTimeout="120000" ReceiveTimeout="240000"/>
        <http-conf:tlsClientParameters secureSocketProtocol="SSL">
          <sec:trustManagers>
            <sec:keyStore type="JKS" password="changeit" file="/path/to/truststore.jks"/>
          </sec:trustManagers>
        </http-conf:tlsClientParameters>
    </http-conf:conduit>
</beans>
{code}
or as defined as here [http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport(includingSSLsupport)-ConfiguringSSLSupport]

This file needs to be configured in the resource-adapter configuration using the "ConfigFile" property

> Use certificates in Salesforce SOAP API calls
> ---------------------------------------------
>
>                 Key: TEIID-3493
>                 URL: https://issues.jboss.org/browse/TEIID-3493
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Salesforce Connector
>            Reporter: Burak Serdar
>            Assignee: Ramesh Reddy
>             Fix For: 8.12
>
>
> Currently salesforce connector supports user/password authentication. It would be nice if we can use certificates.
> https://help.salesforce.com/apex/HTViewHelpDoc?id=security_keys_uploading_mutual_auth_cert_api.htm&language=en_US



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list