Service Registry 3.1 Administration Guide

Specifying Who Can Perform User Registration

By default, anyone who can access the Service Registry URL is permitted to perform user registration by using the User Registration Wizard. Any registered user can publish content to the Registry.

By defining the property in the file, you can restrict this capability so that only specified people can perform user registration.

After you complete this task, the only people who can register by using the Wizard will be those who have the first and last names specified by the property definition. Other people who try to register will see an error message when they click the Next button after filling out the User Authentication Details form in Step 3 of the User Registration Wizard. The error message says User registration failed. After the message is a line that reports a UserNotFoundException.

If the property is not present in, or if it is defined as the empty string, any registered user can publish content to the registry.

ProcedureTo Restrict User Registration

  1. Change to the directory RegistryDomain-base/domains/registry/applications/j2ee-modules/soar/WEB-INF/classes.

  2. Open the file in a text editor.

  3. Add a definition of the following property:

    You can place this property definition anywhere in the file. A logical place for the property definition is in an area where other properties with the prefix are defined.

    Define the property value as a comma-separated list of first and last names of people who are authorized to perform user registration, as in the following example: Patel, Jane Doe,
  4. Save and close the file.

  5. Follow the instructions in To Stop and Restart the Application Server Domain for the Registry.