Setting up Basic access control

To set up Basic access control, select Basic as your access method in kwauthconfig, and create a list of user names and passwords in Validate.

To set up Basic access in kwauthconfig, you need to:

  • enable authentication through the Portal
  • select Basic as your access control method
  • provide secure connection information if you're configuring SSL. See Using a secure Klocwork Server connection for more details.
When you set up access control, the Klocwork administrator permissions are associated with your user ID. You are the initial Klocwork administrator. However, you can delegate Klocwork administration to other people later in Validate.

To set up Basic access control

  1. Enable authentication through the Portal.

    Go to the Users screen and toggle the authentication button in the top-right corner. Default is 'disabled'.

  2. To access kwauthconfig, go to <server_install>/bin or run kwauthconfig [<projects_root>] from the command line on any platform.

    The path to the projects_root directory can be an absolute or relative path. If you don't provide the projects_root as a parameter in step 1, the Select Klocwork Projects Root dialog appears.

  3. If the Projects Root dialog appears, enter the complete path or browse to the projects_root and click OK.
  4. Click Configure.
  5. Select Basic. The only difference between this method and Open is that Basic access requires that all user accounts must have a password.
  6. Optional: Click Use secure Klocwork Server connection, then enter the Host name, Organizational unit, and Organization for the SSL connection.
  7. Click Finish and the initial configuration utility screen will appear. Click OK to finalize your changes.

You must restart the Klocwork Server with the command validate service --projects-root <projects_root> restart klocwork or with Windows Services administration.

What's next?

Now that you've set up Basic access control in kwauthconfig, you're ready to create your list of users in Validate.