<?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: Rest Basic Authentication in a route in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274286#M51008</link>
    <description>Hi, 
&lt;BR /&gt;is there an example on how integrating a cxfrs messagingEndpoint in a route? 
&lt;BR /&gt;I saw the documentation for the URI format: 
&lt;A href="https://help.talend.com/search/all?query=URI+format&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=URI+format&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;Moreover there is a guide for service development 
&lt;A href="https://help.talend.com/search/all?query=JAX-RS+Development&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=JAX-RS+Development&amp;amp;content-lang=en&lt;/A&gt; and the advanced code sample 
&lt;A href="https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf/jaxrs-advanced" rel="nofollow noopener noreferrer"&gt;https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf/jaxrs-advanced&lt;/A&gt;. 
&lt;BR /&gt;How can I reference the bean in the cxfrs URI? Do I really need to create a seperate bundle for it or can I just create a bean within the mediation perspective? The REST example in the ESB Demo uses jetty. I'm interested in a similar simple example using cxfrs. 
&lt;BR /&gt;Cheers 
&lt;BR /&gt;Dennis</description>
    <pubDate>Fri, 12 Sep 2014 08:07:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-12T08:07:41Z</dc:date>
    <item>
      <title>Rest Basic Authentication in a route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274283#M51005</link>
      <description>Hi all, 
&lt;BR /&gt;I would like to know if it is possible to enforce a simple HTTP Basic Authentication while exposing a REST service within a mediation route. 
&lt;BR /&gt;The REST WS is intended to be the entry point of the route and every request received has to be authenticated in order to consume the service. 
&lt;BR /&gt;The route will be deployed on the Talend ESB Container. 
&lt;BR /&gt;I have seen that this is possible while producing a SOAP WS (cCXF - Use Authentication) and with the tRestRequest component choosing an Integration approach (Use HTTP Basic Auth ticked - Credentials evaluated against the user.properties file); unfortunately I cannot follow these paths due to a series of requirements. 
&lt;BR /&gt;Is it possible to achieve this in an elegant way (without having to write custom interceptors or without producing too many lines of custom code)? 
&lt;BR /&gt;Thanks for your time, every kind of help is greatly appreciated. 
&lt;BR /&gt;Ole</description>
      <pubDate>Sat, 16 Nov 2024 11:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274283#M51005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Basic Authentication in a route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274284#M51006</link>
      <description>CXFRS component will be supported shortly - you'd be able to register an existing interceptor such as CXF JAASLoginInterecptor enforcing the authentication. Perhaps you can use this interceptor right now ? 
&lt;BR /&gt;For example, have a look at this demo resource: 
&lt;BR /&gt; 
&lt;A href="https://github.com/Talend/tesb-rt-se/blob/master/examples/camel/spring-security/server/src/main/resources/camel-context.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/Talend/tesb-rt-se/blob/master/examples/camel/spring-security/server/src/main/resources/camel-context.xml&lt;/A&gt; 
&lt;BR /&gt;CXFRS is not used directly but the jaxrs:server is used instead; but with the either approach you can register this interceptor, see more about it here: 
&lt;BR /&gt; 
&lt;A href="https://cxf.apache.org/docs/security.html#Security-JAASLoginInterceptor" rel="nofollow noopener noreferrer"&gt;https://cxf.apache.org/docs/security.html#Security-JAASLoginInterceptor&lt;/A&gt; 
&lt;BR /&gt;Other HTTP-centric Camel components may offer something else... 
&lt;BR /&gt;HTH, Sergey</description>
      <pubDate>Tue, 18 Mar 2014 11:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274284#M51006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T11:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Basic Authentication in a route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274285#M51007</link>
      <description>Thanks a lot Sergey, I'll give it a shot and I'll let you know.</description>
      <pubDate>Tue, 18 Mar 2014 15:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274285#M51007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T15:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Basic Authentication in a route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274286#M51008</link>
      <description>Hi, 
&lt;BR /&gt;is there an example on how integrating a cxfrs messagingEndpoint in a route? 
&lt;BR /&gt;I saw the documentation for the URI format: 
&lt;A href="https://help.talend.com/search/all?query=URI+format&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=URI+format&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;Moreover there is a guide for service development 
&lt;A href="https://help.talend.com/search/all?query=JAX-RS+Development&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=JAX-RS+Development&amp;amp;content-lang=en&lt;/A&gt; and the advanced code sample 
&lt;A href="https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf/jaxrs-advanced" rel="nofollow noopener noreferrer"&gt;https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf/jaxrs-advanced&lt;/A&gt;. 
&lt;BR /&gt;How can I reference the bean in the cxfrs URI? Do I really need to create a seperate bundle for it or can I just create a bean within the mediation perspective? The REST example in the ESB Demo uses jetty. I'm interested in a similar simple example using cxfrs. 
&lt;BR /&gt;Cheers 
&lt;BR /&gt;Dennis</description>
      <pubDate>Fri, 12 Sep 2014 08:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-Basic-Authentication-in-a-route/m-p/2274286#M51008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-12T08:07:41Z</dc:date>
    </item>
  </channel>
</rss>

