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:

...

languagexml


<Resource

...

driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"

...

factory="com.deepnet.dualshield.encryption.EncryptedDataSourceFactory"

...

maxActive="1000"

...

maxIdle="2"

...

maxWait="5000"

...

name="jdbc/DasDS"

...

username="xxxx" password="yyyy"

...

type="javax.sql.DataSource"

...

...

  validationQuery="Select

...

1"

...

/>


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

...


<Resource

...

driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"

...

maxActive="1000"

...

maxIdle="2"

...

maxWait="5000"

...

name="jdbc/DasDS"

...

type="javax.sql.DataSource"

...

...

validationQuery="Select

...

1"/>


As you have noticed, the username/password are removed, and a new attribute: integratedSecurity=true is added.

...