WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Configuring custom user registries

Before you begin

Before you begin this task, implement and build the UserRegistry interface. For more information on developing custom user registries refer to Developing custom user registries. The following steps are required to configure custom user registries through the administrative console.

Steps for this task

  1. Click Security > Global security.
  2. Under User registries, click Custom.
  3. Enter a valid user name in the Server user ID field.
  4. Enter the password of the user in the Server user password field.
  5. Enter the full name of the location of the implementation class file in the Custom registry class name field as a dot-separated file name. For the sample, this file name is com.ibm.websphere.security.FileRegistrySample. The file exists in the WebSphere Application Server class path preferably in the install_root/lib/ext directory. This file exists in all the product processes. If you are operating in a Network Deployment environment, this file exists in the cell class path and in all of the node class paths.
  6. Select the Ignore case for authorization option for the authorization to perform a case insensitive check. Enabling this option is necessary only when your registry is case insensitive and does not provide a consistent case when queried for users and groups.
  7. Click Apply if you have any other additional properties to enter for the registry initialization. Otherwise, click OK and complete the required steps to turn on security.
  8. Enter additional properties to initialize your implementation by clicking Custom properties. Click New. Enter the property name and value. Click OK. Repeat this step to add other additional properties. For the sample, enter the following two properties. It is assumed that the users.props file and the groups.props file are in the customer_sample directory under the product installation directory. You can place these properties in any directory that you choose and reference their locations through Custom properties. However, make sure that the directory has the appropriate access permissions.
    Property name Property value
    usersFile ${USER_INSTALL_ROOT}/customer_sample/users.props
    groupsFile ${USER_INSTALL_ROOT}/customer_sample/groups.props
    Samples of these two properties are available in users.props file and groups.props file .

    The Description, Required, and Validation Expression fields are not used and can remain blank.

Result

This set of steps is required to set up the custom user registry and to enable security in WebSphere Application Server.

What to do next

  1. Complete the remaining steps, if you are enabling security.
  2. After security is turned on, save, stop, and start all the product servers, including cell, nodes and all of the application servers, for any changes in this panel to take effect. If the server comes up without any problems, the setup is correct.
  3. Validate the user and password by clicking OK or Apply on the Global security panel. Save, synchronize in the cell environment, stop and restart all the product servers.



Sub-topics
UserRegistry.java files
FileRegistrySample.java file
Result.java file
Custom user registry settings
users.props file
groups.props file

Related concepts
Custom user registries

Related tasks
Developing custom user registries
Migrating custom user registries
Configuring user registries

Related reference
UserRegistry interface methods

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/usec_tdaman.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)