Service Registry 3.1 Administration Guide

ProcedureTo Require Database Authentication

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.

  1. Change to the Service Registry install directory:

    cd ServiceRegistry-base/install

  2. Open your copy of the install.properties file in a text editor.

  3. Change the setting of the registry.install.RequireDatabaseAuthentication property from false to true.

  4. 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.

  5. Edit the setting of the registry.install.DatabasePassword property.

    The password must contain at least 6 characters. The default value is app123.

  6. Save and close the file.

  7. 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.