Enabling Authentication

This section describes how to enable authentication. If you want that only the authorized users or the administrators are able to check the monitoring performance parameters and their values, you need to enable authentication. For this, you need to authorize users by setting credentials.
To enable authentication, you will be required to use a HTTP tool that can parse the values passed as the user ID and password to the server.
By default, authentication is disabled. You need to manually enable the basic authentication by setting the property abpm.monitoring.authentication.enable to yes. To enable the credentials, you need set the property abpm.monitoring.authentication.enable to admin.
 

Steps to enable authentication

  1. Go to ../Serverkernel/etc folder.
  2. Open monitoring-matrix.properties file (see Figure 4).

    Figure 4: Default Monitoring Parameters XML page

  3. To enable authentication, change the value of the property abpm.monitoring.authentication.enable to yes.
  4. To enable the credentials, set the value of the property abpm.monitoring.authentication.user to admin.
  5. Save the file and restart the Kernel and WebRunner.

Now, when you send the HTTP request to monitor the Adeptia server performance, the request header will also contain the authorization name and value for the password.
Where:

Name: Authorization
Value: Basic username:password (in plain text)

Here,

username is a valid user name that exists in the Adeptia Suite repository and password is above user's password.
12