This content is now out of date.

Visit Our Community

Connecting to SQL Server 2008 DB using Windows-only authentication

Updated documentation can now be found via our YF community HERE

With the JTDS driver, you can use "integrated authentication" with the SSO.dll file, which uses the currently logged in user account to connect.
There is a 32 or 64-bit dll available as part of the most recent JTDS driver, available from:

- The JTDS driver also allows you to specify a Windows user by adding the "domain"parameter to the URL.

Example: Connecting with a Windows account
(within 'web.xml file located in YellowfinappserverwebappsROOTWEB-INF)[code]
JDBCDriver: net.sourceforge.jtds.jdbc.Driver
JDBCUrl: jdbc:jtds:sqlserver://localhost/master;domain=nepal
Username: steve
Password: password[/code]
In the above example,the computer's name is 'nepal'.
It was connecting to the local domain, and "steve" is a local user account that has been given access to the database.

- The Microsoft driver only allows Windows authentication using the "integrated authentication" parameter, with the dll file in the JDBC driver package from:

Once again there are 32-bit and a 64-bit .dll files, and you will need to use the appropriate one based on the JVM you are using.

(within 'web.xml file located in YellowfinappserverwebappsROOTWEB-INF)[code]
JDBCUrl: jdbc:sqlserver://localhost;DatabaseName=master;integratedSecurity=true
Password: [/code]

If you have issues doing the above, please check the 'related posts' below and email '' if you are still experiencing issues.

[size="13">Related posts:[/size]
Can YF use windows authentication?

Moved Yellowfin server

Problem with the user name and password

How do I re-encrypt my metadata database password