tibemsConnectionFactory_SetSSLProxyAuth

Function

Purpose

Set a connection factory’s username and password for connecting through an SSL proxy.

C Declaration

tibems_status
tibemsConnectionFactory_SetSSLProxyAuth(
    tibemsConnectionFactory factory,
    const char* proxy_user,
    const char* proxy_password);

COBOL Call

CALL "tibemsConnectionFactory_SetSSLProxy"
     USING BY VALUE factory,
           BY REFERENCE proxy-user,
           BY REFERENCE proxy-password,
           RETURNING tibems-status
END-CALL.
Note: factory has usage pointer.

Parameters

Parameter Description
factory Set the username and password on this connection factory.
proxy_user The connection factory authenticates itself to the SSL proxy using this username.
proxy_password The connection factory authenticates itself to the SSL proxy using this password.

Remarks

When a connection factory establishes an EMS server connection through an SSL proxy host, the proxy might first require authentication before facilitating a connection. When required, use this call to set that authentication data on the connection factory. Notice that this proxy authentication data is distinct from the server authentication data, and from the SSL private key encryption password.