NHibernate and Oracle Connect Through Windows Authentication

How to use Windows authentication to connect to an Oracle database?

Currently, I just use the Oracle username and password, but the requirement is to provide the user with the option to set the Windows authentication option, since we offer the same thing as SQL.

+4
source share
1 answer

You need to change the AUTHENTICATION_SERVICES entry in SQLNET.ORA to the following:

SQLNET.AUTHENTICATION_SERVICES= (NTS) 

In addition, you need to configure accounts in Oracle to match Windows accounts. See http://www.dba-oracle.com/bk_sqlnet_authentication_services.htm for more details.

+4
source

Source: https://habr.com/ru/post/1276455/


All Articles