Outbound Auth - Message
When the native API is protected and expects the authentication credentials to be passed through payload message, you can use this policy to provide the credentials that is added to the request and sent to the native API. webMethods API Gateway supports a wide range of authentication schemes, such as WSS Username, SAML, and Kerberos, in addition to signing and encryption at the message-level.
- Message-level authentication can be used to secure outbound communication of only SOAP APIs.
- If the WSDL used to create the SOAP API includes
ws:Policy
elements, the system considers those entries for outbound authentication. Otherwise, the specified parameters within the Outbound Auth - Message policy will take effect. - If the WSDL used to create the SOAP API contains
ws:Policy
elements and the Outbound Auth - Message policy is not specified, then thews:Policy
elements have no effect. Thews:Policy
elements are not exposed when the WSDL is retrieved from webMethods API Gateway.
Property | Description |
---|---|
Authentication scheme | Select one of the following schemes for
outbound authentication at the message level:
|
Authenticate using | Select one of the following modes to
authenticate the client:
|
WSS username | Uses the WSS credentials to authenticate
the client.
Provide the following credentials:
|
Kerberos | Uses the Kerberos credentials to
authenticate the client.
Provide the following information:
|
SAML | Provide the SAML issuer that is configured. |
Signing Configurations | Uses the signing configuration details to
authenticate the client.
Provide the following information:
|
Encryption Configurations | Uses the encryption configuration details
to authenticate the client.
Provide the following information:
|
Alias | Uses the configured alias to authenticate the client. Provide the name of the configured alias. |
Stage | Specify a stage, if you want the configuration to be applicable to a specific stage. |
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).