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?
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