By default, database authentication is not required. It is possible to require authentication when the database is running in embedded mode, and it is necessary to require authentication when the database is running in Network Server mode.
Change to the Service Registry install directory:
cd ServiceRegistry-base/install
Open your copy of the install.properties file in a text editor.
Change the setting of the registry.install.RequireDatabaseAuthentication property from false to true.
Edit the setting of the registry.install.DatabaseUserID property.
For embedded mode, this value can be either APP or empty:
registry.install.DatabaseUserID=APP
registry.install.DatabaseUserID=
For Network Server mode, this value must be APP.
Edit the setting of the registry.install.DatabasePassword property.
The password must contain at least 6 characters. The default value is app123.
Save and close the file.
Stop and restart the Application Server domain for the Registry. To do so, execute the following command (all on one line):
Ant-base/ant -f build-install.xml Dinstall.properties=props-file appserver.domain.bounce
where props-file is the path name of the copy of install.properties file that you edited in To Configure Service Registry as Root Using Custom Properties After a Configure Later Installation or To Configure Service Registry as a Non-Root User Using Custom Properties After a Configure Later Installation.