<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Salesforce Mutual Authentication Example(s) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313159#M84044</link>
    <description>&lt;P&gt;How come it was done as documented here?&lt;/P&gt; 
&lt;P&gt;&lt;A title="[resolved] tSalesforceConnection secured connection" href="https://community.qlik.com/s/feed/0D53p00007vCsc0CAC" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-tSalesforceConnection-secured-connection/td-p/58307&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;That's why I'm going initially with this approach. &amp;nbsp;Do you mean that I first should run the tJava to modify the endpoint URL, and then connect to SF?&lt;/P&gt; 
&lt;P&gt;That would be the same thing as putting the URL endpoint using the port as :8443 directly in the enpoint string parameter in the "tSalesforceConnection" component, correct?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2017 17:50:56 GMT</pubDate>
    <dc:creator>dcc2904</dc:creator>
    <dc:date>2017-09-15T17:50:56Z</dc:date>
    <item>
      <title>Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313155#M84040</link>
      <description>&lt;P&gt;Does anyone have any examples of how to setup Mutual Authentication on Salesforce and Talend?&lt;/P&gt; 
&lt;P&gt;It's basically a follow-up question from this old post:&lt;/P&gt; 
&lt;P&gt;&lt;A title="[resolved] tSalesforceConnection secured connection" href="https://community.qlik.com/s/feed/0D53p00007vCsc0CAC" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-tSalesforceConnection-secured-connection/td-p/58307&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I need to establish a secure connection between the Talend job and Salesforce, and these are the components I'm using:&lt;/P&gt; 
&lt;P&gt;- tSalesforceConnection&lt;/P&gt; 
&lt;P&gt;- tSetKeystore&lt;/P&gt; 
&lt;P&gt;- tJava&lt;/P&gt; 
&lt;P&gt;- tSalesforceInput&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I can establish a connection to Salesforce without any problems, and the &lt;EM&gt;tSetKeystore&lt;/EM&gt; component seems to set correctly the Mutual Authentication certificate (because I don't get any errors in that part of execution, and I check for the existence of both Truststore ".crt" file and Keystore ".jks" file). &amp;nbsp;I've also implemented a &lt;EM&gt;tJava&lt;/EM&gt; component to change the URL of the &lt;EM&gt;tSalesforceConnection&lt;/EM&gt; to use port 8443 after the initial connection has been established. &amp;nbsp;It's only when the process gets to the &lt;EM&gt;tSalesforceInput&lt;/EM&gt; that the job fails with the following error:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;exceptionCode&amp;gt;InvalidSessionId&amp;lt;/exceptionCode&amp;gt;
&amp;lt;exceptionMessage&amp;gt;This session could not be mutually authenticated for use with the API&amp;lt;/exceptionMessage&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The entire job is outlined here:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Mutual Authentication Talend Job" style="width: 760px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lqy4.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151212iE7E29247D36C046C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lqy4.jpg" alt="0683p000009Lqy4.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Mutual Authentication Talend Job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The code that is worth mentioning is the "change port" component:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;org.talend.components.salesforce.SalesforceConnectionProperties props_tSalesforceConnection_1 =&lt;BR /&gt;(org.talend.components.salesforce.SalesforceConnectionProperties) globalMap.get("tSalesforceConnection_1_COMPONENT_RUNTIME_PROPERTIES");

props_tSalesforceConnection_1.setValue("endpoint", context.endpoint_8443);

globalMap.put("tSalesforceConnection_1_COMPONENT_RUNTIME_PROPERTIES", props_tSalesforceConnection_1);&lt;/PRE&gt; 
&lt;P&gt;where "context.endpoint_8443" is a reference to:&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://test.salesforce.com:8443/services/Soap/u/39.0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://test.salesforce.com:8443/services/Soap/u/39.0&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any ideas how to fix this? &amp;nbsp;Greatly appreciated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313155#M84040</guid>
      <dc:creator>dcc2904</dc:creator>
      <dc:date>2024-11-16T09:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313156#M84041</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please provide the screenshot of tSalesforceInput property? in this are you using the existing connection or modified values in your tJava component?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 06:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313156#M84041</guid>
      <dc:creator>Sid3</dc:creator>
      <dc:date>2017-09-15T06:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313157#M84042</link>
      <description>&lt;P&gt;Hi Sid.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here's the tSalesforceInput component:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="tSalesforceInput_example.JPG" style="width: 781px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lqo6.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150222i40AD22A9D98FEED3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lqo6.jpg" alt="0683p000009Lqo6.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Notice that the tJava component is the third in the execution list. &amp;nbsp;That's where the example source code sits from the example I originally posted. &amp;nbsp;The screenshot here is for the tSalesforceInput parameters. &amp;nbsp;To answer your question: both....&lt;/P&gt; 
&lt;P&gt;I am using the existing connection called "con_bulk" but as far as I know, I modified the endpoint after the initial login to use port 8443. &amp;nbsp;So this component should be using the modified port information set in the tJava component. &amp;nbsp;It may be that the line:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;props_tSalesforceConnection_1.setValue("endpoint", context.endpoint_8443);&lt;/PRE&gt; 
&lt;P&gt;Did not do its' job correctly?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for checking.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 15:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313157#M84042</guid>
      <dc:creator>dcc2904</dc:creator>
      <dc:date>2017-09-15T15:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313158#M84043</link>
      <description>Not sure you're able to change the endpoint after the connection has been established.</description>
      <pubDate>Fri, 15 Sep 2017 15:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313158#M84043</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-09-15T15:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313159#M84044</link>
      <description>&lt;P&gt;How come it was done as documented here?&lt;/P&gt; 
&lt;P&gt;&lt;A title="[resolved] tSalesforceConnection secured connection" href="https://community.qlik.com/s/feed/0D53p00007vCsc0CAC" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-tSalesforceConnection-secured-connection/td-p/58307&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;That's why I'm going initially with this approach. &amp;nbsp;Do you mean that I first should run the tJava to modify the endpoint URL, and then connect to SF?&lt;/P&gt; 
&lt;P&gt;That would be the same thing as putting the URL endpoint using the port as :8443 directly in the enpoint string parameter in the "tSalesforceConnection" component, correct?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 17:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313159#M84044</guid>
      <dc:creator>dcc2904</dc:creator>
      <dc:date>2017-09-15T17:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313160#M84045</link>
      <description>I think so.</description>
      <pubDate>Fri, 15 Sep 2017 20:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313160#M84045</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-09-15T20:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313161#M84046</link>
      <description>Hi..Is This issue resolved? I am also trying to do similar to your job</description>
      <pubDate>Sun, 05 Jul 2020 11:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313161#M84046</guid>
      <dc:creator>poojitha619</dc:creator>
      <dc:date>2020-07-05T11:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313162#M84047</link>
      <description>Hi..Is This issue resolved? I am also trying to do similar to your job</description>
      <pubDate>Sun, 05 Jul 2020 11:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313162#M84047</guid>
      <dc:creator>poojitha619</dc:creator>
      <dc:date>2020-07-05T11:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313163#M84048</link>
      <description>&lt;DIV class="lia-message-author-with-avatar"&gt;
 &lt;SPAN class="UserName lia-user-name lia-user-rank-Two-Stars lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LRKuAAO" target="_self"&gt;&lt;/A&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;
&lt;P&gt;I stopped trying to implement this a while back.&amp;nbsp; I did not find a way to get it working and there was no useful documentation available.&amp;nbsp; If you find a way to get this working, please post it here if possible.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313163#M84048</guid>
      <dc:creator>dcc2904</dc:creator>
      <dc:date>2020-07-07T16:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce Mutual Authentication Example(s)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313164#M84049</link>
      <description>&lt;DIV class="lia-message-author-with-avatar"&gt;
 &lt;SPAN class="UserName lia-user-name lia-user-rank-Two-Stars lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LRKuAAO" target="_self"&gt;&lt;/A&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;
&lt;P&gt;I stopped trying to implement this a while back.&amp;nbsp; I did not find a way to get it working and there was no useful documentation available.&amp;nbsp; If you find a way to get this working, please post it here if possible.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-Mutual-Authentication-Example-s/m-p/2313164#M84049</guid>
      <dc:creator>dcc2904</dc:creator>
      <dc:date>2020-07-07T16:43:14Z</dc:date>
    </item>
  </channel>
</rss>

