Using Windows Authentication to Connect to the EPIM Database
To set up the ability to log onto EPIM and EPX databases with the network domain account:
- The EPIM and EPX databases are set with the network domain account as the database owner.
-
Copy the file:
ntlmauth.dll
from the appropriate architecture directory, from the attached zip:jtdsjdbc-sso.zip
to your installation location:<drive>:\Enterworks\JDK\JRE\bin
-
Remove the username and password from all database connection strings and
update connection strings to use integrated security:
-
Edit the shared configuration properties settings:
- In the
sharedConfiguration.properties
files, comment out the username and password keys. - To the JDBC URL, add:
as shown in the example below:instance=USENTLMV2=true;
#epim.connection.username=ewsys #epim.connection.password=uMb/Xk0BwIA= epim.connection.url=jdbc:jtds:sqlserver://DBServer:1433; databasename=EPIM; instance=USENTLMV2=true;
- In the
- In the file:
update the EPX database settings:<drive>:\EPX\bin\esjdbc.properties
- Comment out the username and password keys.
- Add to the JDBC URL:
instance=USENTLMV2=true;
- In the
Enterworks.properties
files:- <drive>:\Enterworks\EPX\bin\conf\Enterworks.properties
- <drive>:\Enterworks\EnableServer\tomcat\webapps\webcm\WEB-INF\classes\Enterworks.properties
- <drive>:\Enterworks\EnableServer\jbossController\standalone\configuration\conf\Enterworks.properties
update:<drive>:\Enterworks\EnableServer\jbossWorker<x>\standalone\configuration\conf\Enterworks.properties
- Remove the username and password.
- Update JDBC URLs for both EPIM and EPX.
- For EnableWeb and Enable Utilities, in the following files:
make the following updates:<drive>:\Enterworks\EnableWeb\Web.config <drive>:\Enterworks\Utilities\DAMReportUtility\DAMReportUtility.exe.config <drive>:\Enterworks\Utilities\MonitorDamdrop\MonitorDamdrop.exe.config <drive>:\Enterworks\Utilities\DAMReportUtility\DAMReportUtility.exe.config <drive>:\Enterworks\Utilities\RegenerateDAMVariant\RegenerateDAMVariant.exe.config
- Update the connection string to remove the user name and password.
- Add:
to the URL. For example:Trusted_Connection=True;
<add name="EPIMConnectionString" connectionString="Data Source= DBServer;Initial Catalog=EPIM;Persist Security Info=True;Trusted_Connection=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
-
Edit the shared configuration properties settings:
- Restart EnterWorks services.