Quantcast
Channel: Spring Community Forums - Remoting
Viewing all articles
Browse latest Browse all 18

Spring HTTP invoker remoting, Basic Auth and Retry

$
0
0
Here's my scenario. Using Spring HTTP invoker, HTTP client, basic authentication and storing cookies for subsequent requests (a custom request executor) so I don't have to pass BA for every request. If the cookie expires then I get a 401 (unauthenticated) from the proxy so I want to retry passing the BA in the header again, get the new cookie back, and continue. So I need to configure an HTTP client retry handler. Does anyone know of a good Spring XML file example for configuring this? I'll try to post my current Spring configuration file tomorrow when I'm back at work.

Viewing all articles
Browse latest Browse all 18

Trending Articles