Novell is now a part of Micro Focus

Adding the "Other" Page in iManager 2.0

Novell Cool Solutions: Feature
By Greg Goodwin

Digg This - Slashdot This

Posted: 21 Jul 2004
 

How to Add the "Other" Page to the Modify User Property Book in Novell iManager 2.0

By Greg Goodwin, Novell software engineer

If you have ever used the Novell ConsoleOne "Other" page, you know how valuable its content is. Being able to view and edit the value of any attribute (valued or unvalued) in an object is key to successful directory administration.

Well, guess what - the Novell Other page is back. Novell iManager 2.0 introduces the Other page to the Web. By default, for security purposes, the Other page is associated only with the "Modify Object" property book. This article describes how to associate it with other property books. In particular, we'll look at the "Modify User" property book as an example.

Option 1: Role-Based Services (RBS) Activated (Collection Installed)

The following steps show how to add the Other page to the Modify User property book with RBS installed in your tree. To do this, you must have at least one Role-Based Services (RBS) collection associated with the server.

1. Log in to Novell iManager as a collection owner (use the account that was used to create the collection initially, or an account that's a member of the collection owner list).

2. Select the configure view.

3. Under the Property Book Configuration role, select the Modify Page List task (Figure 1).

Figure 1

Using the Object Selector, you can search for RBS Book objects. Note: If you have multiple collections, you'll likely find several Modify User property books.

4. Select the "ModifyUser.base" property book to which you wish to add the Other page (Figure 2).

5. Click Next to continue.

Figure 2

From this screen, you can change the page assignments for this property book (in our case, User).

6. Locate the "base.Other" page in the list of available pages (left list).

7. Select it and click the Add arrow. "base.Other" should disappear from the available pages list and be added to the assigned pages list.

8. To complete the operation, click OK (Figure 3).

Figure 3

That's it. If you go back to the Modify User task under the "Users" role and select a user object, you will find the Other page present under the "General" chapter in the property book (Figure 4).

Figure 4

Option 2: Running in Unrestricted Mode (RBS Not Activated)

To get the same result without using RBS, you must modify the XML configuration files stored in the iManager Web application.

1. Locate the iManager installation on your system. We will refer to the root of /nps as %webApp%. To help you locate the iManager installation, you can always search for a document called "iManager.xml" (the file we are looking for). Note the uppercase M in iManager.xml (for case-sensitive operating systems).

The file you are looking for is located under: %webapp%nps/portal/modules/base/plugins. This is a well-formed xml document (so let's make sure to keep it that way).

2. The xml element you are looking for is the <book/> with and <id/> value of "base.ModifyUser" (Example 1).


<book>
    <id>base.ModifyUser</id>
    <version>2.0.0</version>
    <required-version>2.0.0</required-version>
    <class-name>java:com.novell.emframe.dev.DirPropertyBook</class-name>
    <url-param>
        <param-key>mooEnabled</param-key>
        <param-value>true</param-value>
    </url-param>
    <display-name-key>ModifyUserTaskDisplayName</display-name-key>
    <resource-properties-file>BaseResources</resource-properties-file>
    <object-type-name>User</object-type-name>
    <role-assignment>User Management</role-assignment>

    <page-assignment>base.User_Identification</page-assignment>
    <page-assignment>base.User_Environment</page-assignment>
    <page-assignment>base.Shared_PostalAddress</page-assignment>
    <page-assignment>base.manageUserGroupsPage</page-assignment>
    <page-assignment>base.Shared_PasswordRestrictions</page-assignment>
    <page-assignment>base.Shared_LoginRestrictions</page-assignment>
    <page-assignment>base.Shared_TimeRestrictions</page-assignment>
    <page-assignment>base.Shared_AddressRestrictions</page-assignment>
    <page-assignment>base.Shared_AccountBalance</page-assignment>
    <page-assignment>base.Shared_IntruderLockout</page-assignment>
    <page-assignment>base.Shared_SecurityEqualToMe</page-assignment>
    <page-assignment>base.Shared_LoginScript</page-assignment>
    <page-assignment>base.Share_SecurityEqualsTo</page-assignment>
    <page-assignment>base.Shared_SeeAlso</page-assignment>
    <page-assignment>UserProfile.BusinessPage</page-assignment>
    <page-assignment>UserProfile.PersonalPage</page-assignment>
    <page-assignment>NMAS.UserLoginMethodNDSPassword</page-assignment>
    <page-assignment>NMAS.UserSequences</page-assignment>
</book>

Example 1

3. Add another <page-assignment/> element for the Other page (Example 2).

<page-assignment>base.Other</page-assignment>

Example 2

Once you have added the line, your document should look similar to Example 3. Please make sure to insert the new line before the closing </book> tag.


<book>
    <id>base.ModifyUser</id>
    <version>2.0.0</version>
    <required-version>2.0.0</required-version>
    <class-name>java:com.novell.emframe.dev.DirPropertyBook</class-name>
    <url-param>
        <param-key>mooEnabled</param-key>
        <param-value>true</param-value>
    </url-param>
    <display-name-key>ModifyUserTaskDisplayName</display-name-key>
    <resource-properties-file>BaseResources</resource-properties-file>
    <object-type-name>User</object-type-name>
    <role-assignment>User Management</role-assignment>

    <page-assignment>base.User_Identification</page-assignment>
    <page-assignment>base.User_Environment</page-assignment>
    <page-assignment>base.Shared_PostalAddress</page-assignment>
    <page-assignment>base.manageUserGroupsPage</page-assignment>
    <page-assignment>base.Shared_PasswordRestrictions</page-assignment>
    <page-assignment>base.Shared_LoginRestrictions</page-assignment>
    <page-assignment>base.Shared_TimeRestrictions</page-assignment>
    <page-assignment>base.Shared_AddressRestrictions</page-assignment>
    <page-assignment>base.Shared_AccountBalance</page-assignment>
    <page-assignment>base.Shared_IntruderLockout</page-assignment>
    <page-assignment>base.Shared_SecurityEqualToMe</page-assignment>
    <page-assignment>base.Shared_LoginScript</page-assignment>
    <page-assignment>base.Share_SecurityEqualsTo</page-assignment>
    <page-assignment>base.Shared_SeeAlso</page-assignment>
    <page-assignment>UserProfile.BusinessPage</page-assignment>
    <page-assignment>UserProfile.PersonalPage</page-assignment>
    <page-assignment>NMAS.UserLoginMethodNDSPassword</page-assignment>
    <page-assignment>NMAS.UserSequences</page-assignment>
    <page-assignment>base.Other</page-assignment>
</book>

Example 3

4. The iManager registry should pick up the change after either a restart of the Web application server or a refresh of Novell iManager (under Configure / iManager Configuration / Portal / Refresh Portal / select all / select all / Refresh).

That's it. You should now be able to access the Other page under the Modify User property book without requiring Role-Based Services.

Figure 5


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© Micro Focus