skip to main content
Configuring Security for OpenAccess SDK : Configuring OpenAccess SDK security : Configuring Kerberos authentication : Configuring Kerberos authentication for the JDBC Client
 
Configuring Kerberos authentication for the JDBC Client
During installation, the JDBC Client installs the following files required for Kerberos authentication in the /lib subdirectory of the OpenAccess SDK Client installation directory:
*JDBCDriverLogin.conf file is a configuration file that specifies which Java Authentication and Authorization Service (JAAS) login module to use for Kerberos authentication. This file is configured to load automatically unless the java.security.auth.login.config system property is set to load another configuration file.
Note: Do not modify this file.
*krb5.conf is a Kerberos configuration file containing values for the Kerberos realm and the KDC name for that realm. The JDBC Client installs a generic file that you must modify for your environment.
If the krb5.conf file does not contain a valid Kerberos realm name and KDC name, the following exception is thrown:
Message:[DataDirect][OpenAccess JDBC Driver]Could not establish a connection using integrated security: No valid credentials provided
[DataDirect][OpenAccess JDBC Driver]A username was not specified and the driver was unable to establish a connection using integrated security.
The krb5.conf file installed by the JDBC Client is configured to load automatically unless the java.security.krb5.conf system property is set to point to another Kerberos configuration file.