How to forward the client's Basic Authentication credentials through HTTPRouter in JBoss ESB to the target proxies HTTP endpoint ?
Issue
- There is a scenario where users implemented
HTTP Basic Authentication
on the targetWebservice
which is deployed onEAP 5
container. When users make a direct request to thisWebservice
, theBasic Authentication
works fine. There is anESB
application which is sitting in between the client and theWebService
code which acts as a proxy for the endWebService
. When client code sends a request to theESB
'sHTTP provider
so that the request could be routed byHTTPRouter
action class , the user needs to provide the credentials forBasic Authentication
throughhttp-client-property
properties [1] ofHTTPRouter
action insidejboss-esb.xml
file so that the client's request which has been routed throughHTTPRouter
contains the authentication details for the targetWebService
. - Can this process be skipped, so that the client's credentials can be directly forwarded to the target
WebService
without providing the same to theHTTPRouter
action insidejboss-esb.xml
file ?
Environment
- Red Hat JBoss SOA Platform (SOA-P)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.