This is the documentation for SuperSTAR 9.8

SuperSTAR 9.9 is now available.
View this page in the SuperSTAR 9.9 documentation or visit the SuperSTAR 9.9 documentation home.

Skip to end of metadata
Go to start of metadata

There are some login error messages included with SuperWEB2 that contain an email address link for the user to contact support. For example:

By default, these support links are configured to use a dummy email address (support@example.com). Before going into production, you should update these messages so that they use your real support email.

To update the links, you need to edit <tomcat_home>\webapps\webapi\WEB-INF\classes\common_labels.properties.

There may be multiple copies of this file for different languages and locales, with names like common_labels_en.properties, and common_labels_en_AU.properties. You need to make these changes in all versions of the file. The properties file that is used will depend on the language settings in the end user's web browser and the set of supported locales defined in the faces-config.xml configuration file (see Multilingual and Localisation Support - SuperWEB2 for more information about localisation and how SuperWEB2 uses the properties files).

  1. Open the file in a text editor.
  2. Locate the following section:

    login.error.InvalidLoginCredentials=Login credentials incorrect, please login again.
    login.error.accountLocked=Account locked, please contact <a href="mailto:support@example.com">support</a>.
    login.error.generic=Login credentials incorrect, please login again.
    login.error.serverUnreachable=The system is currently unavailable. Please contact <a href="mailto:support@example.com">support</a> or try again later.
    login.error.internalServer=The system has encountered an internal error and you have been logged out. Please try again or contact <a href="mailto:support@example.com">support</a> if this problem persists.
    login.error.overConcurrentUserLimit=Login is denied due to the restriction on the number of concurrent users.
    login.error.accountNoDatabaseAccess=Your user account does not have access to any datasets, please contact <a href="mailto:support@example.com">support</a>.
  3. Update the links to use your real support email address. For example:

    login.error.InvalidLoginCredentials=Login credentials incorrect, please login again.
    login.error.accountLocked=Account locked, please contact <a href="mailto:superweb2admin@mycompany.com">support</a>.
    login.error.generic=Login credentials incorrect, please login again.
    login.error.serverUnreachable=The system is currently unavailable. Please contact <a href="mailto:superweb2admin@mycompany.com">support</a> or try again later.
    login.error.internalServer=The system has encountered an internal error and you have been logged out. Please try again or contact <a href="mailto:superweb2admin@mycompany.com">support</a> if this problem persists.
    login.error.overConcurrentUserLimit=Login is denied due to the restriction on the number of concurrent users.
    login.error.accountNoDatabaseAccess=Your user account does not have access to any datasets, please contact <a href="mailto:support@example.com">support</a>.
  4. Apply this change to all versions of this file for all the languages in use on your deployment.
  5. Save your changes and restart Tomcat or the SuperWEB2 service.
  • No labels