Windows Authentication for Velocity Web Service Client (VWSC)
Overview
Prior to Velocity 3.7 SP1, the Velocity Web Service Client (VWSC) application used the Anonymous Authentication mode, which used the Forms Authentication Provider. As a result, when you initially hit the VWSC website, a login page displays and is authenticated by the Velocity Web Service.
Starting from Velocity 3.7 SP1, the Administrator can disable Anonymous Authentication and define Windows Authentication to support Auto-Login capability. For users logged in as an authorized Velocity operator in the Velocity domain in Windows, the VWSC login page is bypassed to enable the Auto-Login feature.
Enabling Auto-Login using Windows Authentication Provider
The VWSC application uses Anonymous authentication by default. To enable Auto-Login capability using Windows Authentication you must make configuration changes to the following:
Configuring IIS for Windows Authentication in Windows 10 Pro and above
The steps below enable Windows Authentication in IIS where Velocity Web Client or VWSC bundle is installed.
Go to Control Panel > Programs
Locate and click on Turn Windows Features on or off link as shown below
In Windows Features dialog, expand Internet Information Services > World Wide Web Services > Security to see the available options
Select the following highlighted options (if not selected already), and then click OK
World Wide Web Services > Security > Basic Authentication
World Wide Web Services > Security > Request Filtering
World Wide Web Services > Security > Windows Authentication
A progress dialog shows that Windows is building the selected feature changes.
Click Close after Windows completes the requested changes. Windows Authentication mode is now enabled in IIS.
Configuring IIS for Windows Authentication in Microsoft Windows Server 2016 and above
The steps below enable Windows Authentication in IIS on Windows Server where Velocity Web Client or VWSC bundle is installed.
Go to Run and type ServerManager and press Enter or click Server Manager button in the Windows taskbar
The Server Manager Dashboard screen displays as shown.Click Add roles and features link in Dashboard
Read the wizard instructions and click Next to continue
In Select installation type choose Role-based or feature-based Installation radio button
Choose to Select a server from the server pool radio button
Select the Windows Server 2016 from Server Pool and click Next
Select the following highlighted options (if not selected already) and then click Next
Select Server Roles. Choose the following options under Roles:
Web Server (IIS) (20 of 43 Installed) > Web Server (14 of 34 Installed) > Security (1 of 9 Installed) > Request Filtering (Installed)
Web Server (IIS) (20 of 43 Installed) > Web Server (14 of 34 Installed) > Security (1 of 9 Installed) > Basic Authentication
Web Server (IIS) (20 of 43 Installed) > Web Server (14 of 34 Installed) > Security (1 of 9 Installed) > Windows Authentication
Skip to the Confirmation menu in the Add Roles and Features Wizard
In Confirm installation selections click Install to enable Windows Authentication
The Installation progress window display the progress of the Feature Installation
Click Close after the installation is done
Velocity Web Service Client Website Configuration
The Velocity Web Service Client Website configuration is done in the system where the Velocity Web Client and Website is installed or hosted.
On the desktop, click Start >Programs or All Programs > Administrative Tools > Internet Information Services (IIS) Manager
On the left panel in connections, select User > Sites > Default Web Sites > VWSC
Double-click Authentication
The VWSC Authentication window displays; right click Anonymous Authentication to Disable or select Disable link as shown
Right click Windows Authentication to Enable or select Enable link as shown
Except Windows Authentication all other authentications must be disabledRight click Windows Authentication and select Advanced Settings or click Advanced Settings link as shown
In Advanced Settings dialog box, select Accept from Extended Protection drop-down and click OK as shown below
In IIS Manager window, right click Default Web Site > All Tasks > Restart IIS for the changes to take place as shown below
PIV Enrollment using Windows Authentication
To configure anonymous authentication using IIS, you need to:
Run Notepad as Administrator
Open %WINDIR%\System32\inetsrv\config\applicationHost.config
Save it as %WINDIR%\System32\inetsrv\config\applicationHost.config.bak for backup purposes
Find following string: <section name="anonymousAuthentication"Â overrideModeDefault="Deny"Â />
Replace Deny with Allow
Save file as %WINDIR%\System32\inetsrv\config\applicationHost.config
Recycle the Application Pool, to be sure that IIS re-reads web.config
Periodic recycling of Application Pool helps to avoid unstable states that can lead to application crashes, hangs, or memory leaks.
For details on how to recycle settings on application pool, refer to https://tinyurl.com/y44yb4mm
Configuring Browser Settings
Auto login window appears only if the user is currently logged into their device as a member of the Velocity Users Group in the Velocity domain and is an authorized Velocity operator. Configuring Microsoft Edge to automatically pass credentials for trusted sites without prompting can be done through the browser settings.
A. The following steps allow the user to configure Microsoft Edge browser without prompting their credentials over trusted sites:
 Open Microsoft Edge
Click on the three horizontal dots (...) in the upper-right corner of the browser window. This will open the menu, click Settings
In the Settings menu, locate and navigate to Cookies and site permissions
Under Cookies and data stored, click on Manage and delete cookies and site data
This will open a new window where you can manage individual site permissions, scroll down to find the section labeled Allow "The following sites can save cookies on your device...", click Add
Enter the URL of the trusted site for which you want to automatically pass credentials, click on Add to add and save new site
Once you have configured the settings for the trusted site, you can also go back to the main Settings page in Microsoft Edge
If you have a list of trusted sites, you can repeat the process to add each site to the list. Ensure that the URLs you add are correct to avoid any issues.
B. The following steps allows to add the website URL to work properly in latest Google Chrome versions:
Go to Control panel > Internet Options. The Internet Properties window opens.
In Internet Properties windows, select Security tab
Select Local Intranet > Sites button
The Local Intranet dialog window opens, select Advanced
The Local Intranet windows displays, Add http://localhost/VWSC
The URL is added to the Websites text area in Local Intranet, click Close
Â