In this section:

Requiring Tools to Authenticate When Obtaining Licenses

By default, License Server does not require tools to authenticate when obtaining licenses. If you want to require authentication, do the following:

  1. Stop License Server.
  2. Open the PSTSecConfig.xml file in <LS_INSTALL>/data/conf/ and add the following child element to the <pstsec-config> element.
    <authentication-required>true</authentication-required>
  3. Start License Server.

Tool authentication was introduced in version 2024.1. If authentication is required, Parasoft tools older than 2024.1 will not be able to obtain a license.

Configuring Authentication Between License Server and User Administration

License Server uses the settings in the PSTSecConfig.xml file, located in the <LS_INSTALL>/data/conf/ directory, to authenticate against the User Administration module (pstsec). The default settings should work for most users.

If User Administration is deployed on non-default ports, edit the following elements:

  • Set <host>8443</host> to the port where User Administration is deployed.
  • Set <protocol>https</protocol> as needed.
<?xml version="1.0" encoding="UTF-8"?>
<pstsec-config>
  <password-required>true</password-required>
  <remote-authentication>
    <port>8443</port>
    <!-- http or https -->
    <protocol>https</protocol>

License Server makes a user request over HTTP(S) to User Administration when authenticating remotely. By default, License Server makes the request as the "admin" user, but you can configure License Server to authenticate with a different user by changing the <user>admin</user> element. The user you want to authenticate with should have administrative privileges (see Basic User Management).  

    <!-- 
    Option <user> is the user account License Server will use for communication with the
    remote authentication server (pstsec). The default value is 'admin'.
     -->
    <user>admin</user>
  </remote-authentication>
  • No labels