Collapse All Expand All

.NET Framework Class Library
EMSSSL Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Enable or disable AUTH_ONLY on the client side for SSL connection.

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

# Syntax

    public static void SetAuthOnly(
    	bool b
    )

    Public Shared Sub SetAuthOnly ( _
    	b As Boolean _
    )

    public:
    static void SetAuthOnly(
    	bool b
    )

#### Parameters

b
  Type: System..::.Boolean
  If set to true, then connections use SSL only for authentication and switch to TCP protocol for all subsequent messaging. If false (default), then SSL is used for the lifetime of the connection.

# Remarks

For the client and server to use SSL only during initial connection 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.

Connections use this setting at the time they are created. Changing this setting only affects connections created after the change.

# See Also

EMSSSL Class
TIBCO.EMS Namespace
GetAuthOnly