Outbound Auth - Transport
When the native API is protected and expects the authentication credentials to be passed through transport headers, you can use this policy to provide the credentials that will be added to the request and sent to the native API. webMethods API Gateway supports a wide range of authentication schemes, such as Basic Authentication, Kerberos, NTLM, and OAuth, at the transport-level.
The table lists the properties that you can specify for this policy:
Parameter | Description |
---|---|
Authentication scheme | Select one of the following schemes for outbound authentication at the transport level:
|
Authenticate using | Select one of the following modes to authenticate the client:
|
Basic | Uses the HTTP authentication details to authenticate the client. webMethods API Gateway supports the
following modes of HTTP authentication:
Provide the following credentials
|
Kerberos | Uses the Kerberos credentials to authenticate the client. webMethods API Gateway supports the following
modes of Kerberos authentication:
|
NTLM | Uses the NTLM credentials to authenticate the client. webMethods API Gateway supports the following
modes of NTLM authentication:
Provide the following credentials
|
OAuth2 | Uses the OAuth2 token to authenticate the client. webMethods API Gateway supports the following modes of
NTLM authentication:
|
JWT | Uses the JSON Web Token \(JWT\) to authenticate the client. If the native API is enforced to use JWT for authenticating the client, then webMethods API Gateway enforces the need for a valid JWT in the outbound request while accessing the native API. webMethods API Gateway supports the Incoming JWT mode of JWT authentication |
Alias | Name of the configured alias. |
When you configure an API with an inbound authentication policy, and a client sends a request with credentials, webMethods API Gateway uses the credentials for the inbound authentication. When sending the request to native server, webMethods API Gateway removes the already authenticated credentials when no outbound authentication policy is configured.
If as an API provider you want to use the same credentials for authentication at both webMethods API Gateway and native server, you should configure the outbound authentication policy to pass the incoming credentials to the native service. If you do not configure an outbound authentication policy, API Gateway removes the incoming credentials, as it is meant for webMethods API Gateway authentication only.
However, when both the inbound authentication policy and outbound authentication policy are not configured, webMethods API Gateway just acts as a proxy and forwards the credentials to the native service. Since the credentials are not meant for webMethods API Gateway (as no inbound auth policy is configured), API Gateway forwards the credentials to native service (unless there are different settings configured in outbound authentication policy, for example, custom credentials or Anonymous).