OSB - Setting http Authorization header with Proxy Service
Hi,
I have the following scenario:
PS1 -> PS2 -> BS (with a SA configured to pass through)
I need to set the Authorization http header based on some information in payload, so:
PS1 receives the payload and route to PS2, where username/password are extracted and using a java call out the base64 hash is generated.
In the PS2 route i'm trying to set the Authorization header using the set Transport Headers option.
When i do a request to test this operation, osb show me a beautiful CredentialNotFound exception.
I have tryied to set the Authorization header in the route on the PS1, without success.
Someone can help me ?