Enabling a Listener for HTTPs Support with Server Certificate Validation

When a client attempts to connect to a host (like a relay server), this connection is authenticated with a basic authentication challenge.To verify if the server certificate is trusted or not, the application registers a listener object with the OData SDK. If the server certificate is trusted, the connection is successful. If the server certificate is not trusted, it is rejected and the connection fails.

See Configuring Unwired Server to use Relay Server in Sybase Control Center for Online Data Proxy for information on the configuration of relay server properties.

Syntax

public static void setODPCertificateChallengeListener(IODPCertificateChallengeListener oListener) throws MessagingClientException;

Parameters

Examples