Announcement Announcement Module
Collapse
No announcement yet.
HTTP Basic auth in HttpOutboundGateway Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


    • #3
      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).

      Comment

      Working...
      X