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.
Property | 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:
Provide the following credentials:
|
NTLM | Uses the NTLM credentials to authenticate the client. The
NTLM credentials are authenticated from Integration Server. Java-based NTLM
authentication supports NTLMv2 only. The supported NTLM authentication modes
are:
Provide the following credentials:
|
OAuth2 | Uses the OAuth2 token to authenticate the client. webMethods API Gateway supports the following modes of OAuth2
authentication:
OAuth2 token. Specifies the client's OAuth2 token. |
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 | Uses the configured alias to authenticate the client. Provide the 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, webMethods 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), webMethods API Gateway forwards the credentials to native service (unless there are different settings configured in outbound authentication policy, for example, custom credentials or Anonymous).