Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open the "server.xml" file in a text editor such as Notepad++. Locate the text similar to the following:

Code Block
languagexml
<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:

  1. Remove the attribute: factory="com.deepnet.dualshield.encryption.EncryptedDataSourceFactory"
  2. Remove the attribute: username="xxxx"
  3. Remove the attribute: password="yyyy"
  4. Add "integratedSecurity=true" in the value of the "url" attribute


Code Block
languagexml
<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.

...