Configure Spring Insight Dashboard Server Users

The Spring Insight Operations Dashboard by default uses the CATALINA_HOME/conf/tomcat.users file to authenticate users. Users can be regular users (insight role) or administrators (insight and insight_admin roles). The insight_admin role is required to perform some operations on the Administration page.

You should secure your Spring Insight Operations installation by changing the default users and passwords.

Procedure

  1. Edit the CATALINA_HOME/conf/tomcat.users file. This is the initial content of the file:

    <?xml version="1.0"?>
    <tomcat-users>
        <role rolename="insight"/>
        <role rolename="insight_admin"/>
        <user password="insight"
              roles="insight"
              username="spring"/>
        <user password="insight"
              roles="insight,insight_admin"
              username="admin"/>
    </tomcat-users>
  2. Edit or add <user> elements for the users you wish to authenticate, setting the password, roles, and username attributes for each user. Include the insight role for all users and add the insight_admin role for users who should have administrator capabilities.

  3. After saving changes to tomcat.users, restart the Spring Insight Operations Dashboard, using the tcruntime-ctl restart command.

What to do next