We have a ReST service developed using XML firewall. Now we need to add HTTP Basic authentication in the HTTP Headers going out of XML firewall.
We have created a user agent with BasicAuth policy and added to XML manager in XMLFW. But the Basic authentication is not added to HTTP header in the request.
So we redeveloped the ReST service gateway through MPGW and added same XML manager. Now the basic authentication is added in HTTP header.
We have come to know that we can add HTTP header using XSL in policy. But we don't want to add using XSL.
Please let me know how to make it happen in XML firewall.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
3 replies Latest Post - 2013-01-29T02:09:19Z by swlinn
Pinned topic BasicAuth policy with XML firewall
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-29T02:09:19Z at 2013-01-29T02:09:19Z by swlinn
Liv2luv 270002M1RW573 Posts
HermannSW 2700006U544488 Posts
swlinn 100000E7QE1346 PostsACCEPTED ANSWER
Re: BasicAuth policy with XML firewall2013-01-29T02:09:19Z in response to SystemAdminThe service's user agent contains a tab that allows you to specify a basic auth policy. The user agent is referenced by the xml manager which is referenced by your service. As a best practice, never update the default xml manager or user agent, but instead create new objects for this purpose.