...
- Extract the contents of the distribution archive and copy the licenseserver.war and pstsec.war files into your
<TOMCAT>/webapps
directory. The applications will be deployed when Tomcat starts. - Log into License Server at
https://
<host><HOST>:8443/licenseserver
using the default username and password (admin/admin). We recommend changing the default after logging in. - Log into User Administration at
https://
<host><HOST>:8443/pstsec
using the default username and password (admin/admin). We recommend changing the default after logging in.
...
Configuring Tomcat to Log User Information with Requests and Responses
License Server is distributed with the tools you need to If you are upgrading from License Server 2022.2 or earlier, you can configure Tomcat to log user information along with each request and response. This is necessary for some users to be in compliance with certain regulations. This is unnecessary for new installs of License Server 2023.1 or later.
To configure Tomcat to log this information from License Server, you need to:
- Add dtp_access_logcom.parasoft.pst.core.tomcat-<VERSION>.jar (distributed with License Server) to your
<TOMCAT>/lib
directory. Edit the server.xml file located in the
<TOMCAT>/conf/
directory by finding the default access log valve entry:Code Block <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t "%r" %s %b" />
And appending the following example as a new entry:
Code Block <Valve className="com.parasoft.pst.core.tomcat.DTPAccessLogValve" prefix="ls_user_access_log" suffix=".txt" pattern="%t %s %m %U %H %u %S %A:%{local}p %a:%{remote}p %F %{X-Forwarded-For}i %{User-Agent}i %{Referer}i %I" />
...