Integrated Windows authentication
The following guide will assist you in configuring your application to use Integrated Windows Authentication (IWA).
Note, that we recommend that you use a strong authentication mechanism such as OpenID Connect, where you have the ability to enforce multi-factor authentication on users attempting to access your application. Access Manager fully supports modern OIDC providers such as Azure AD and Okta.
Part 1: Configure the SPN
Lithnet Access Manager uses kernel-mode authentication, which means the computer account, rather than the service account is used to authenticate the client. This means that the Kerberos service principal name must be applied to the computer account, rather than the service account.
If your web url hostname is different to your machines AD hostname, then you'll need to register an SPN for this hostname.
Run the following command to set the SPN. Replace {dnsName} with the hostname web clients will use to access the service and {computerNetBIOSName} with the AD computer name
For a website called accessmanager.lithnet.local
running on computer AMSWEB01
, the command would be
Part 2: Configure Lithnet Access Manager
![](https://docs.lithnet.io/~gitbook/image?url=https%3A%2F%2F1984618955-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAsBzwJDeLC2ny10RHLdI%252Fuploads%252Fgit-blob-1ea128638c4a2ad6fc0b2396c6c6b45381473981%252Fui-page-authentication-iwa.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=3c981f1&sv=1)
Select
Integrated windows authentication
as the authentication providerSelect
Negotiate
for the authentication scheme.
Note: Use of NTLM and basic auth is not recommended and are provided for testing purposes only.
To restrict clients to the use of Kerberos only, disable incoming NTLM authentication for the server using group policy.
Last updated