Custom Header authentication
This document describes how to set up the authentication method passing a custom header in requests to DigDash Enterprise.
The value of the custom header will be the remote user.
This document describes the file to modify to enable this authentication.
Configuration of DigDash applications
All DigDash Enterprise applications are configured via a single file: digdash.properties.
The use of this file is described here: Externalization of parameters in a properties file
In everything that follows, the default application names will be used. If you have renamed certain war files you will need to modify the digdash.properties file accordingly.
Server (ddenterpriseapi.war)
Find the definition of the authMethod parameter (uncomment the line by deleting the # character at the beginning of the line) and change its value to Custom :
the definition of the Custom_idParameter parameter and change its value according to the name of your header:
the definition of the digdash_dashboard.sharedPasswd parameter.
Change the password value (all applications using this same parameter must use the same value).
Dashboard (digdash_dashboard.war)
the definition of the authMethod parameter and change its value to Custom :
the definition of the Custom_idParameter parameter and change its value according to the name of your header:
the definition of the digdash_dashboard.sharedPasswd parameter.
Change the password value (all applications using this same parameter must use the same value).
Recommended settings for automatic dashboard login:
It is recommended that you configure the following settings when deploying in Integrated Windows Security (Waffle) mode.
Specify (and force) the DigDash Enterprise domain:
digdash_dashboard.FORCEDOMAIN=true
Specify (and force) the server URL of the DigDash Enterprise domain.
Use the localhost address if the ddenterpriseapi web application is installed on the same Tomcat as the digdash_dashboard web application.
Adapt the port if necessary:
digdash_dashboard.FORCESERVERURL=true
Specify a logout URL so that the user can log out of DigDash Enterprise and, for example, return to an Intranet page:
See the documentation Advanced system settings documentation for more details on these settings.
Studio (studio.war)
Find the definition of the authMethod parameter and change its value to Custom :
the definition of the Custom_idParameter parameter and change its value according to the name of your header:
the definition of the digdash_dashboard.sharedPasswd parameter.
Change the password value (all applications using this same parameter must use the same value).
Recommended settings for automatic Studio login:
It is recommended that you configure the following settings when deploying in Integrated Windows Security (Waffle) mode.
Specify (and force) the DigDash Enterprise domain:
studio.DOMAIN=ddenterpriseapi
Specify (and force) the server URL of the DigDash Enterprise domain.
Use the localhost address if the ddenterpriseapi web application is installed on the same Tomcat as the studio application.
Adapt the port if necessary:
studio.SERVERURL=http://localhost:8080
Specify a logout URL so that the user can log out of DigDash Enterprise and, for example, return to an Intranet page:
By default logging out of the Studio returns to the Studio login page. This page does not exist in the SSO context.
It is important to specify a return URL in the event of disconnection.sktop Studio (adminconsole.war