You can deploy the User Administration module (pstsec) shipped with License Server for local authentication, as well as configure License Server to authenticate against a remote instance of User Administration, such as the pstsec shipped with Continuous Testing Platform. To configure remote authentication, edit the PSTSecConfig.xml file. The file is located in the <LS_INSTALL>/data/conf/ directory.

Edit the following elements so that License Server can communicate with User Adminstration:

  • Set the <enabled>false</enabled> element to <enabled>true</enabled> 
  • Set the <host>localhost</host> to the host where User Administration is deployed.
  • Set the <host>8443</host> to the port where User Administration is deployed.
<?xml version="1.0" encoding="UTF-8"?>
<pstsec-config>
  <password-required>true</password-required>
  <remote-authentication>
    <!-- This section may be used by License Server to connect even when disabled. -->
    <enabled>false</enabled>
    <host>localhost</host>
    <port>8443</port>
    <!--  
    Option <protocol> indicates which scheme/protocol is used for remote authentication.
    To set connection use 'http'. The default value is '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