The SSLCallback object handles SSL requests for additional authentication information from a server to a client application. The C++ ORB invokes callback methods when a required setting, such as a pin, has not been specified, or when the value specified is invalid.
The callback can respond to exceptional conditions, such as server certificates that have expired. When using mutual authentication, the callback getCertificateLabel method allows you to present a list of available certificates to the user. Using a callback can also simplify handling of retry logic when the user enters an invalid certificate or password.
To use the SSL callback mechanism, you need to follow these steps:
Create proxy objects for the CTS Security module in EAServer to obtain SSL session information.
Create a standard custom class user object inherited from the SSLCallback object and implement the callback functions you need.
Set the global SSL property CallBackImpl to the name of your SSLCallback object and connect to the server.