Creating a local product administrator user for an AppScan Enterprise Server that is configured with Windows authentication
Procedure
- Locate the server.xml file.
On Windows™, this file is
located in the Liberty\usr\servers\ase folder
in your AppScan® Enterprise
Server installation
directory. On Linux™, this file
is located in the Liberty/usr/servers/ase folder
in your AppScan Enterprise
Server installation
directory.
Edit this file as follows:
- Remove this line:
<feature>usr:WindowsRegistryFeature</feature>
- Change the value of
product.admins
to be the name of the administrator user - for example,ADMIN
:<jndiEntry jndiName="product.admins" value="ADMIN"/>
- Add this before
</server>
at the end of the file (this sample usesADMIN
as an example password):<basicRegistry id="basic" realm="customRealm"> <user name="ADMIN" password="ADMIN" /> </basicRegistry>
Note: The administrator password can be encrypted by following the instructions in Encrypting the administrator password. In this case, specify the generated encrypted password in this section.
- Remove this line:
- Save the file and restart the
ase
service:- On Linux, issue the
/etc/init.d/ase_liberty restart
command. - On Windows, complete
one of these tasks:
- Choose Run in the Windows Start menu
and then type
services.msc
. When the Services window opens, right-click HCL AppScan Enterprise Server and choose Restart. - In a command prompt, change directory to the Liberty\bin folder
in your AppScan Enterprise
Server installation
directory. Issue the
server stop ase
command - and then issueserver start ase
.
- Choose Run in the Windows Start menu
and then type
- On Linux, issue the
- Register
the AppScan Source Database
with AppScan Enterprise
Server using the newly-created
ADMIN
credentials.