Collapse All Expand All

.NET Framework Class Library
XAConnectionFactory Class See Also

[TIBCO.EMS .NET client library 6.1 documentation]

Enable or disable encryption/decryption of the message data over the SSL connection

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

# Syntax

    public void SetSSLAuthOnly(
    	bool authOnly
    )

    Public Sub SetSSLAuthOnly ( _
    	authOnly As Boolean _
    )

    public:
    void SetSSLAuthOnly(
    	bool authOnly
    )

#### Parameters

authOnly
  Type: System..::.Boolean
  Flag to indicate whether the connection should only authenticate.
  - When true, only the authentication to connect is performed and data sent over the connection is not encrypted or decrypted.
  - When false (the default), authentication to is performed and data sent over the connection is encrypted and decrypted.

# Remarks

For the client and server to require an SSL connection only to perform authentication, the ssl_auth_only parameter needs to be set on the server and AUTH_ONLY needs to be set by the client. Setting these flags on both the server and client side indicates that the SSL connection is only used to only perform authentication. Once authentication is complete, the client switches to a regular TCP connection to communicate with the server.

# See Also

XAConnectionFactory Class
TIBCO.EMS Namespace