Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

On this page:

Summary: This page explains how to modify error messages displayed on login to the Health and Engineering Dashboards.


It is possible to modify the messages displayed in red described below. When a user logs in and the user is not authorized to view any data in the dashboard (for example a new user with no role and no data authorization assigned to it) a message is displayed as follows and further use of the dashboard is prevented.

When a user logs in and either the user name or password is incorrect, an error message is displayed:

Change these messages

To change these messages, first locate and open the following file in a text editor:

Health Dashboard - CATALINA_HOME\webapps\CAST-Health\portal\resources\urls.json
Engineering Dashboard - CATALINA_HOME\webapps\CAST-Engineering\engineering\resources\urls.json

Locate the following sections in the file:

    "id": "login-invalid-user",
    "message":"You are not authorized to access any applications"
    "id": "login-invalid-data",
    "message":"Sorry, username or password invalid"

Now edit the "message" you want to change and add in your own message. For example, to modify the authorization message:

    "id": "login-invalid-user",
    "message": "You are not authorized to access any applications - please contact your administrator."

Following any changes you make, save the urls.json file and then restart your application server so that the changes are taken into account.

  • No labels