When AuthenticationMethod=clearText (default), AuthenticationMethod=
encryptedPassword, AuthenticationMethod=
encryptedPasswordAES, AuthenticationMethod=
encryptedUIDPassword, or AuthenticationMethod=
encrytpedUIDPasswordAES, the driver uses user ID/password authentication when establishing a connection. The User property provides the user ID. The Password property provides the password.
The encryption method that is used for user IDs and passwords is negotiated during the connection process. For DB2 9.7 for Linux/UNIX/Windows, the method used to encrypt user IDs and passwords is either AES or DES encryption depending on the setting of the alternate_auth_enc parameter on the DB2 server. For all other DB2 databases, the method is DES encryption. See the description for
AuthenticationMethod for more information.
When AuthenticationMethod=client, the driver uses the user ID of the user logged onto the system on which the driver is running when establishing a connection. The DB2 database server relies on the client to authenticate the user and does not provide additional authentication. The driver ignores any values specified by the User property and Password properties.
When AuthenticationMethod=kerberos, the driver uses Kerberos authentication when establishing a connection. The driver ignores any values specified by the User property and Password properties.