Windows Authentication in the JAMS Web Client

Follow

JAMS users commonly login and browse the JAMS Web Client through JSON Web Token (JWT) Authentication.

Beginning with V7, the JAMS Web Client also supports Windows Integrated Authentication as an alternative to JWT Authentication. 


 

How to Enable Windows Authentication in the JAMS Web Client 

  1. Add/Install Windows Integrated Authentication to the IIS Server, then enable it on IIS, disable Anonymous Authentication using one of the following links:
  2. Locate the Common.config file in the JAMS Web Client directory.
  3. Look for key="AuthClassName" with the parent <appSettings> tag.
    <?xml version="1.0" encoding="utf-8"?>
    <appSettings>
    <add key="ConnectionString" value="Server=(local); Connect Timeout=60; Integrated Security=SSPI; Database=JAMS;" />
    <add key="JAMSServer" value="localhost" />
    <add key="SchedulerName" value="" />
    <add key="SchedulerPort" value="" />
    <add key="DefaultTenantName" value="Default" />
    <add key="Auth:ClientId" value="JAMSADClientId" />
    <add key="Auth:ClientSecret" value="" />
    <add key="Auth:ContextType" value="Machine" />
    <add key="Auth:ContextName" value="" />
    <add key="Auth:ContextContainer" value="" />
    <add key="Auth:TokenLifetime" value="0.12:00" />
    <add key="Auth:AllowInsecureHttp" value="true" />
    <add key="AuthClassName" value="MVPSI.JAMS.Auth.AuthProviderWindowsIntegrated" />
    </appSettings>
  4. Within the Web.config, look for the <authentication mode="None" /> tag in the parent <system.web> and change it to <authentication mode="Windows" />
    Authentication_Tag.png

    Note: After upgrading JAMS, this change will be required again.
  5. Save the file.
  6. In the IIS Authentication Module, Disable Anonymous Authentication
  7. In the IIS Authentication Module, Enable Windows Authenticationmceclip1.png
  8. Restart your IIS server.
  9. When you are back online, log into Windows.

After the completing the above steps, the JAMS Web Client will load and bypass the Login Page. If you are logged into Windows when the Web Client is launched, JAMS will authenticate your Windows credentials.

 


 

Related Information 

 

 

Have more questions? Submit a request

Comments

  • Avatar
    Brian Pinkston

    Great instructions!