how to use http authentication and tRestRequest (REST entry point)

One Star

how to use http authentication and tRestRequest (REST entry point)

Hi,
I created a REST service consisting out of a tRestRequest and that works fine. However now I want to add HTTP authentication (BASIC) to it (http://en.wikipedia.org/wiki/Basic_access_authentication ).
But I cannot specify authentication or something like http header values to the tRestRequest component?
Who knows how to solve this?
Employee

Re: how to use http authentication and tRestRequest (REST entry point)

Hi,
I just moved your topic to the ESB forum, a better sub forum for your thread.
Best,
Pcoffre.
One Star

Re: how to use http authentication and tRestRequest (REST entry point)

I have the same issue. I checked the flag "Use HTTP Basic Authentication" but then? How authentication is managed? where i need to specify user and password?
One Star

Re: how to use http authentication and tRestRequest (REST entry point)

Hi,
requests are authenticated against Karaf's JAAS realm (by default it is a file based realm authentication, see a file etc/users.properties). Note that by default all authenticated request are authorized.
Have fun
Gabriel

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read