...
Open the "server.xml" file in a text editor such as Notepad++. Locate the text similar to the following:
Code Block | ||
---|---|---|
| ||
<Resource driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" factory="com.deepnet.dualshield.encryption.EncryptedDataSourceFactory" maxActive="1000" maxIdle="2" maxWait="5000" name="jdbc/DasDS" password=" |
...
yyyy" type="javax.sql.DataSource" url="jdbc:sqlserver://192.168.208.2:1433;DatabaseName=dualshield2;SelectMethod=cursor;" username=" |
...
xxxx" validationQuery="Select 1" /> |
...
Change it to
...
Make the following changes:
- Remove the attribute: factory="com.deepnet.dualshield.encryption.EncryptedDataSourceFactory"
- Remove the attribute: username="xxxx"
- Remove the attribute: password="yyyy"
- Add "integratedSecurity=true" in the value of the "url" attribute
Code Block | ||
---|---|---|
| ||
<Resource driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" maxActive="1000" maxIdle="2" maxWait="5000" name="jdbc/DasDS" type="javax.sql.DataSource" url="jdbc:sqlserver://192.168.208.2:1433;DatabaseName=dualshield2;SelectMethod=cursor;integratedSecurity=true;" validationQuery="Select 1"/> |
As you might have noticed, there is no the username/password in the new string. Instead there is are removed, and a new attribute: integratedSecurity=true is added.
Once you have made the above change, save the "server.xml" file and exit the text editor.
...