Creating a local product administrator user for an AppScan Enterprise Server that is configured with LDAP
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:
- Change the value of
product.admins
to be the name of the administrator user - for example,ADMIN
:<jndiEntry jndiName="product.admins" value="ADMIN"/>
- Remove the existing LDAP tag section and add a
basicRegistry
section.For example, remove this section:
<ldapRegistry baseDN="o=example.com" bindDN="" bindPassword="" host="ldap.example.com" ldapType="IBM Tivoli Directory Server" port="389" sslEnabled="false"> <idsFilters userFilter= "(&(uid=%v)(objectclass=ePerson))" userIdMap="*:uid"/> </ldapRegistry>
And add this section (this sample uses
ADMIN
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.
- Change the value of
- 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.