How to set authentication with tRestRequest

Five Stars

How to set authentication with tRestRequest

I design a rest service which is supposed to received xml message. and that works well.

How i need to add security/authentication when calling this service. i played with these different options without any success :

 

- check authentication in the tRestRequest component settings: 

I noticed no impact when calling the service. it's still accessible and returns response

- modify the karaf container files : \container\etc\jetty.xml and users.properties

In jetty.xml i modified in loginModuleName the value ("karaf"). 

I also noticed no impact

 

Could someone help about recommandation/help about setting authentication in such case

Thanks

 

trestrequest_1.PNGpostman.PNG

Tags (1)
Moderator

Re: How to set authentication with tRestRequest

Hello,

Please try to use counterpart for tRESTRequest - tRESTClient, where you can enable "Use Authentication" (SAML Token type) and also "Use Authorization" with specifying role for authorize.

Let us know if it is OK with you.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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

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