WebSphere

Assigning the Business Space superuser role

In Business Space, you can assign users to be superusers. A superuser can view, edit, and delete all spaces and pages and can designate whether spaces can be templates in Business Space. You can run a script that assigns a Business Space superuser role for a user ID, or you can use the wsadmin scripting client to create scripts to enable the Business Space superuser.

Before you begin

The user ID must be registered in the user registry for your product.

Procedure
  1. Locate the script install_root/BusinessSpace/scripts/createSuperUser.py for assigning the superuser role to a user.
  2. Open a command prompt, and change directories to the following directory: profile_root/bin, where profile_root represents the directory for the profile where is Business Space installed.
  3. Type the following command: wsadmin -lang jython -wsadmin_classpath install_root\plugins\com.ibm.bspace.plugin_6.2.0.jar -f install_root\BusinessSpace\scripts\createSuperUser.py user_short_name_in_VMM where user_short_name_in_VMM is the unique identifier for a user in Virtual Member Manager (VMM).
    Note: When the path contains a space, for example, if install_root is My install dir, you must enclose the path names in double quotes. For example, type the following command: wsadmin -lang jython -wsadmin_classpath "\My install dir\plugins\com.ibm.bspace.plugin_6.2.0.jar" -f "\My install dir\BusinessSpace\scripts\createSuperUser.py" user_short_name_in_VMM.

What to do next

Two other scripts are provided if you want to query if a user name has the superuser role, or if you want to remove a superuser role. Both are available in the install_root/BusinessSpace/scripts/ directory:
  • isSuperUser.py to query if a user name has a superuser role.
  • removeSuperUserAccess.py to remove the superuser role from a user

You can create additional scripts based on the three provided. You can replace the MBean call in the script with one of the following methods to work with the superuser role:

See the MBean descriptor file, BSpaceSecurityAdminMBean.xml, which is provided in install_root/BusinessSpace/scripts.

To open Business Space, use the following URL: http://host:port/BusinessSpace, where host is the name of the host where your server is running and port is the port number for your server.


task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 22 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic/com.ibm.websphere.wbpm.bspace.config.620.doc/doc/tcfg_bsp_superuser.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).