#1 2012-04-01 21:16:23

arjenvanharen
Member
Registered: 2012-01-04
Posts: 27

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_acce … entication ).

But I cannot specify authentication or something like http header values to the tRestRequest component?

Who knows how to solve this?

Offline

#2 2012-04-02 15:47:26

pcoffre
Talend Team
Registered: 2009-03-26
Posts: 526
Website

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.


Follow Talend on Twitter, Linkedin, Facebook and the forum.
Download and try Talend solutions

Offline

#3 2012-09-07 10:59:30

pmarino70
Member
Registered: 2012-07-26
Posts: 35

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?

Offline

#4 2012-09-10 12:06:21

gusto2
Member
Company: Apogado
Registered: 2011-09-27
Posts: 164
Website

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


Gabriel Vince
Senior Consultant
Apogado
www.apogado.com

Offline

Board footer

Powered by FluxBB