View Full Version : HTTP Basic auth in HttpOutboundGateway
thomaskoenig
Jun 14th, 2010, 01:04 PM
As far as I can tell the only Message header parameters that are used on an outbound HTTP request are REQUEST_URL and REQUEST_METHOD.
Is HTTP Basic authentication supported somehow?
thomaskoenig
Jun 14th, 2010, 02:23 PM
Well, I guess I can create a Commons.HttpClient with authentication scopes and set it on a CommonsHttpRequestExecutor that I use as the executor of the outbound gateway
Mark Fisher
Jun 14th, 2010, 02:36 PM
That's the best approach for 1.0.x.
The next 2.0 milestone will be building on Spring 3.0's RestTemplate, and so things will change a bit, but this will be a similarly configurable option (CommonsClientHttpRequestFactory).
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.