HTTP Digest with tRESTClient possible?

One Star

HTTP Digest with tRESTClient possible?

Hi,
currently I have a little problem: It seems that the "tRESTClient"-Component doesn't provide the "HTTP Digest" method. The "tESBConsumer"-Component has the "HTTP Digest" method, but it is not for REST :-(
Is it possible to use the "HTTP Digest" method with the tRESTClient"-Component?
I try to connect with a Shopware-API and the webserver doesn't like
"Basic HTTP", so every time I get an 401 error.
Maybe there is another hack?
Best regards
Olaff
Seventeen Stars

Re: HTTP Digest with tRESTClient possible?

At the moment the only way is to set the Authorization header manually as described in:
http://en.wikipedia.org/wiki/Digest_access_authentication
Unfortunately...
I would encourage you to create a feature request in the BugTracker
https://jira.talendforge.org/secure/Dashboard.jspa
One Star

Re: HTTP Digest with tRESTClient possible?

Hi Jan,
thank you for your hint with the Authorization header! I have read the RFC2617 how to build the Authorization header.
At the moment it won't work but I will try it tomorrow again.
HTTP Digest is a little bit more complicated than HTTP Basic ;-)
Best regards
Olaff
Seventeen Stars

Re: HTTP Digest with tRESTClient possible?

Probably you could "steal" from the tESBConsumer component?
One Star

Re: HTTP Digest with tRESTClient possible?

What do you mean by "steal"?
One Star

Re: HTTP Digest with tRESTClient possible?

Ok, I have created a feature request, see https://jira.talendforge.org/browse/TDI-29044
Olaff
Seventeen Stars

Re: HTTP Digest with tRESTClient possible?

I mean with "steal" you could take a look into the jet code from the tESBConsumer component and get an idea how to build the header attribute.