# tibemsSSLParams_SetAuthOnly

Function

## Purpose

Set client connections to use SSL only during initial connection authentication.

## C Declaration

    tibems_status tibemsSSLParams_SetAuthOnly(
        tibemsSSLParams SSLParams,
        tibems_bool auth_only );

## IBM Systems

This function is not supported on z/OS and IBM i systems. For more information, see SSL Implementation on IBM EBCDIC Systems.

## Parameters

Parameter | Description
--- | ---
`SSLParams` | Set the value in this SSL parameter object.
`auth_only` | `TIBEMS_TRUE` instructs the SSL parameter object to request a connection that uses SSL only for authentication. `TIBEMS_FALSE` instructs the SSL parameter object to request a connection that uses SSL to secure all data.

## Remarks

If `auth_only` is `TIBEMS_TRUE`, connections use SSL only for authentication and switch to the TCP protocol for all subsequent messaging. If not, by default, SSL is used for the lifetime of a connection.

For background information, see "SSL Authentication Only" in TIBCO Enterprise Message Service User’s Guide.

Copyright © Cloud Software Group, Inc. All rights reserved.