Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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?
Labels (3)
3 Replies
Anonymous
Not applicable
Author

Hi,
I just moved your topic to the ESB forum, a better sub forum for your thread.
Best,
Pcoffre.
Anonymous
Not applicable
Author

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?
Anonymous
Not applicable
Author

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