Collapse All Expand All

.NET Framework Class Library
XAConnectionFactory Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

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

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public void SetSSLProxyAuth(
    	string username,
    	string password
    )

    Public Sub SetSSLProxyAuth ( _
    	username As String, _
    	password As String _
    )

    public:
    void SetSSLProxyAuth(
    	String^ username,
    	String^ password
    )

#### Parameters

username
  Type: System..::.String
  The connection factory authenticates itself to the SSL proxy using this username.

password
  Type: System..::.String
  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.

Note: This proxy authentication data is distinct from the server authentication data and from the SSL private key encryption password.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS..::.EMSException | if the protocol of the connection factory's URL is not SSL.

# See Also

XAConnectionFactory Class
TIBCO.EMS Namespace