Configuring jConnect applications for Kerberos

Before attempting to configure Kerberos for jConnect, make sure you have the following:

To enable Kerberos login with jConnect, use the following procedure.

StepsConfiguring Kerberos for jConnect

  1. Set the REQUEST_KERBEROS_SESSION property to "true."

  2. Set the SERVICE_PRINCIPAL_NAME property to the name that your Adaptive Server Enterprise is running under. In general, this is the name set with the -s option when the server is started. The service principal name must also be registered with the KDC. If you do not set a value for the SERVICE_PRINCIPAL_NAME property, jConnect defaults to using the host name of the client machine.

  3. Optionally, set the GSSMANAGER_CLASS property.

For more information on the REQUEST_KERBEROS_SESSION and SERVICE_PRINCIPAL_NAME properties, see Chapter 2, “Programming Information.” For more information on the GSSMANAGER_CLASS property, see “GSSMANAGER_CLASS connection property.”