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 Authenticationon the targetWebservicewhich is deployed onEAP 5container. When users make a direct request to thisWebservice, theBasic Authenticationworks fine. There is anESBapplication which is sitting in between the client and theWebServicecode which acts as a proxy for the endWebService. When client code sends a request to theESB'sHTTP providerso that the request could be routed byHTTPRouteraction class , the user needs to provide the credentials forBasic Authenticationthroughhttp-client-propertyproperties [1] ofHTTPRouteraction insidejboss-esb.xmlfile so that the client's request which has been routed throughHTTPRoutercontains the authentication details for the targetWebService. - Can this process be skipped, so that the client's credentials can be directly forwarded to the target
WebServicewithout providing the same to theHTTPRouteraction insidejboss-esb.xmlfile ?
Environment
- Red Hat JBoss SOA Platform (SOA-P)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
