Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
nvtd4000
Contributor III
Contributor III

tRestrequest and http basic auth , how to authenticate with username and password

My company is using Talend Studio (bigdata v7.3.1). I am trying to use tRestRequest to develop a rest service (Microservice for ESB).

I want to authenticate the incoming request with user/pass.

I see tRestRequest component has a checkbox for "Use Authentication (ESB runtime only) in its Basic Settings. But I dont see where do I setup a user/pass.

 

Could you please let me know steps to add basic authentication to the rest service.

1 Reply
Anonymous
Not applicable

Hello @Not defined Not defined​ , you can manage the credentials from the runtime/etc/user.properties file as given in the help guide : https://help.talend.com/r/en-US/7.3/esb-container-administration-guide/managing-users-and-passwords

 

this is a good reference article: https://community.talend.com/s/article/Authorization-for-REST-service-based-routes-with-HTTP-Basic-Authentication

 

If you want to integrate it with IAM syncope, check out the steps given here:

https://community.talend.com/s/article/How-to-setup-Talend-IAM-for-authenticating-calls-to-Data-Services-txHAW