skip to main content
Configuring Security for OpenAccess SDK : Configuring OpenAccess SDK security : Configuring authentication for data access activities
 

Configuring authentication for data access activities

Set the ServiceAuthMethods service attribute to one or more of the following values:
*Anonymous authentication: ServiceAuthMethods=anonymous.
*User ID and password authentication: ServiceAuthMethods=OSLogon(HUID,HPWD), ServiceAuthMethods=OSLogon(UID,PWD)
*User ID and password authentication: ServiceAuthMethods=OSLogon(UID,PWD,NPWD), or ServiceAuthMethods=OSLogon(HUID,HPWD,NPWD).
Note: The NPWD parameter of OSLogon allows you to change the password.
*Kerberos authentication: ServiceAuthMethods=kerberos. See Configuring Kerberos authentication for details.
*Integrated NT authentication: NTLM: ServiceAuthMethods=integrated_nt (Windows only).
Note: The service must run with the privileges required to perform the requested authentication. On Linux and UNIX, the service must run with root permissions to use OSLogon.
You can set multiple authentication mechanisms. For example, if you configure ServiceAuthMethods=integrated_nt and ServiceAuthMethods=OSLogon(UID,PWD), the OpenAccess SDK Server uses the NTLM authentication mechanism and does not require an ODBC or ADO Client connecting from a Windows workstation to provide user ID and password information. OpenAccess SDK Clients on Linux/UNIX or JDBC applications still must provide a valid Windows user ID and password because these clients will fall back on the OSLogon(UID,PWD) mechanism.