Let me tell you before asking my question. Im in the store that runs windows first. We have several bundled applications running on Windows servers (mainly 2003). Most of these packaged applications are written in C # and C ++; however, we have several applications written in Java.
Java batch applications connect to a SQL Server 2005 database using JDBC. Please note that we do not use the application server.
We currently store database connection information (database, username and password) in the Windows registry.
Unfortunately, these really unfriendly auditors (poor attempt at humor) are unhappy with our decision to store information about connecting to the database in the Windows registry. Now we are updating our packaged applications to connect to SQL Server using Authentication.
Using Windows authentication for C # and C ++ applications is not a problem; however, I am stuck in the direction intended for Java applications.
Can anyone tell if Windows authentication can be used to connect to the SQL Server 2005 database from a Java batch application running on a Windows server? Again, we are not using an application server.
If possible, what are your recommended approaches?
I have a strategy to simply encrypt the password, which will make the auditors happy, however I would prefer that all my packaged applications connect to SQL Server through Windows Authentatication.
source share