Basic Authentication policy applied on Façade Operation fails with the error, "Username not available for authentication", when a request is routed through Apache.

Basic Authentication policy applied on Façade Operation fails with the error, "Username not available for authentication", when a request is routed through Apache.

book

Article ID: KB0073683

calendar_today

Updated On:

Products Versions
TIBCO API Exchange 2.x and above
Not Applicable -

Description

This error is thrown when the message flow is:
Client --> Apache --> API Exchange Gateway
 
and Basic Authentication policy is configured for a Facade Operation.The issue is that the credentials are received by APIX-G Gateway in the RV message.

Issue/Introduction

Basic Authentication policy applied on Façade Operation fails with the error, "Username not available for authentication", when a request is routed through Apache.

Environment

All Supported Platforms

Resolution

To resolve this, when Basic Authentication is applied to a Façade Operation, the native HTTP / Facade HTTP channel must be used so that APIX-G receives the credentials in the HTTP Header.

APIX-G should receive the request on the in-build HTTP(S) channel
- either directly
- or via Apache in ReverseProxyMode