Results 1 to 3 of 3

Thread: HTTP Basic auth in HttpOutboundGateway

  1. #1

    Default HTTP Basic auth in HttpOutboundGateway

    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?

  2. #2

    Default

    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

  3. #3
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •