Setting Up Windows Authentication
Snow License Manager 9
2022-02-15
This specifies the setup of Windows Authentication for use within Snow License Manager. This functionality is not a Flexera feature but rather an Internet Information Services (IIS) feature that can be configured and used in Snow License Manager.
Setup
Edit Snow License Manager configuration
Start by editing the web.config file located in the folder C:\Program files\Snow Software\Snow License Manager\Web.
Set the value for the following key:
-
Activate Windows authentication:
UseWindowsAuthentication = true
When Snow License Manager (SLM) Web API is used for retrieving information from an SLM installation where Windows Authentication is enabled, an exception allowing anonymous requests must be made for the API in the SLM web configuration.
Enable Windows Authentication in IIS
-
In IIS Manager, select the Snow License Manager site, and click Authentication.
-
Verify that Windows Authentication is enabled and that Anonymous Authentication is disabled.
-
note
The following task is only applicable when using the Snow License Manager Web API.
Select the server that hosts the Snow License Manager site, and then click Feature Delegation. Change the following delegations to READ/WRITE:
-
Authentication - Anonymous
-
Authentication - Basic
-
Authentication – Windows
-
-
Open an elevated command prompt and run the command
**iisreset**
.This will restart the IIS, and force a reload of all settings and cache, applying the configuration changes made in the previous steps.
Create users in Snow License Manager
Create user accounts for the domain users that will be granted permission to use Snow License Manager.
The users are created in Snow Management and Configuration Center (Start|All Programs|SnowSoftware|Snow License Manager|Snow Management and Configuration Center).
-
In the category menu, click Security.
-
Click New User.
-
On the User tab:
-
Type User name as ADDomain\Useraccount.
-
Type First name, Last name, and E-mail.
-
Select Organisation and Language.
-
Type a Password.
A password must be set, but since it will never be used for authentication it can be set to anything.
-
-
On the Roles tab, select appropriate roles for the new user.
-
Click OK to save the new user.
-
Repeat these steps for every user that needs to be created.
When all users have been created, the setup of Windows Authentication is complete.
Verify setup
Open Snow License Manager in a web browser.
If your account has been setup correctly in Snow License Manager you will be forwarded directly to the main start page, without any additional login being required.
Appendix
The Snow License Manager Web API (SLM Web API) uses basic authentication. For the SLM Web API functionality to work properly, authentication requests need to be passed through to the API instead of being handled by the IIS (web server). This means that if Windows Authentication is enabled for the SLM site, an exception allowing anonymous requests must be made for the API in the SLM web configuration.
Basic authentication is also used for synchronizing images configured for applications in the Store in Automation Platform.
Add the following changes in the <configuration> section of the SLM web.config file (c:\program files\snow software\snow license manager\web\web.config):
<location path="api">
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="true" />
<basicAuthentication enabled="false" />
<windowsAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
<location path="Upload/Store/Images">
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="true" />
<basicAuthentication enabled="false" />
<windowsAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
In some environments, you can't change these settings in the web.config file, and you need to configure this on the web server also:
-
Go to IIS.
-
Select the Server name node and select Feature Delegation.
-
Change the following settings to Read/Write.
-
Authentication - Anonymous
-
Authentication - Basic
-
Authentication - Forms
-
Authentication - Windows
The web.config is permitted to set authentication per path.
-