SSL connections in PowerBuilder
PowerBuilder provides two system objects for use with secure
connections:
-
SSLServiceProvider
service objectThe SSLServiceProvider object is an implementation of the EAServer CtsSecurity::SSLServiceProvider interface.
For more information about this interface, you can view the EAServer interface repository documentation
in a Web browser by connecting to your server at http://hostname:portnumber.You use the GetGlobalProperty and SetGlobalProperty functions
of the SSLServiceProvider object to configure global SSL properties. For a description
of the global properties you can set and/or get, see “SSL properties”.You can also set SSL properties at the connection level by
specifying them in an options string for the Connection or JaguarORB
object. Interactive applications typically use the SSLServiceProvider
object in conjunction with the SSLCallback object. Applications
that run without user interaction typically configure SSL settings
at the connection level. For information about setting properties
at the connection level, see “ORB properties”. -
SSLCallback object
To enable EAServer to request
additional information from the client using a callback method,
you can implement your own logic for the callback methods in an
instance of the SSLCallBack object. The SSLCallback object is an
implementation of the EAServer CtsSecurity::SSLCallback
interface.