Enabling the internal database (SQL) authentication and authorization method
The internal database (SQL) method enables the WebOffice EOM to communicate with the Windows Communication Foundation (WFC) service to authenticate and retrieve user information from the NCRWO_WebOfficeSE database.
Ensure that users are properly defined in the CoreDb database. For more information, refer to Adding associate data.
This task uses the following file.
File name | Folder |
---|---|
web.config | %PROGRAMFILES(X86)%\NCR\WebOffice |
To configure WebOffice EOM to use the internal database method, follow these steps:
- Open the web.config file.
- In the <membership> section, locate the defaultProvider attribute and name key, and change each of their corresponding value to "SqlMembershipProvider". The edited section will look similar to the following sample image.
- In the <appSettings> section, locate the "SecuritySettings" update the value to "RemoteSettings".Example
<add key="SecuritySettings" value="RemoteSettings" />
- Save the changes.
Defining the connections strings
To define the connection strings, follow these steps:
- Open a Command Prompt window.
- At the Command Prompt window, go to the Utilities folder.Example
cd %PROGRAMFILES(X86)%\NCR\DSREnterprise\Utilities
- Enter the following command:
Ncr.Retail.SecureConfig.exe –win
The Secure Configuration utility is displayed.
- In the ConfigureSetting window, select File.
- In the Select File/Directory field, do one of the following:
- Enter the location of the web.config file.Example
%PROGRAMFILES(X86)%\NCR\WebOffice\web.config
- Select the Browse button to browse for the web.config file.
- Enter the location of the web.config file.
- On the ConnectionStrings tab, update the connection strings values of userpreferencedb as necessary.
- Select Save.