Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Directory Editor 1 2004Q4 Installation and Configuration Guide 

Chapter 7
Configuring Directory Editor

Use the information provided in this chapter to configure your Directory Editor application to user control access to applications and application components, and to define relative distinguished names (RDN) configurations. This chapter is organized as follows:


Controlling User Access

Authentication and Authorization are terms used to describe methodologies for controlling access to applications or application components.

To understand authorization, you must understand the terms role, principal, and accessible components, which are described in the following sections:

Understanding Roles

A role describe a user's function within the enterprise hosting the Directory Editor. For example, your organization may have CEO, help desk administrator, and janitor roles.

Roles determine with which parts of Directory Editor you can interact. By default, Directory Editor is pre-configured with two roles:

Directory Editor enables you to add roles that support interactions appropriate for your enterprise. For example, you might want to define a role that allows users to edit directory data but does not allow them to access the Configure tab.

Every role is associated with a set of principals that assume the role (see the next section, Understanding Principals). For Directory Editor, there is a single group in the directory server (called the Manager Group) that serves as the principal corresponding to the Manager role.

You use the Managed Directory page to specify the Manager Group at configuration time (also available after configuration by selecting Configure > Managed Directory). So, if you have a particular user that should have full access to all Directory Editor functions, make that user's DN a member of the Manager Group.

Understanding Principals

A principal represents an entity (such as an individual, corporation, or login ID). The term subject is used to describe entities (typically human users). Subjects can be represented by multiple, differing principals — just as people can be represented by their credit card number to banks and by their UNIX account name to system administrators. The credit card numbers and UNIX account names are principals in this case.

Because Directory Editor is focused on directory data management, its principals are all represented using the following directory objects:

A user entering a DN in the log-in page can be represented by several different principals, depending on the data in the directory. For example, if the user’s account ID happens to be a member of a specific group, that user will be represented by the account ID’s DN and by the DN of the group to which the DN belongs.

In Directory Editor, objects representing the user (or subject) are stored in the HTTP session. After the user enters an account ID and a password on the Directory Editor's log-in page, Directory Editor populates the subject with all of the various principals (person entries, groups, and roles) associated with that account ID.

Understanding Accessible Components

Accessible components are the set of internal Directory Editor components that are accessible by the users. Users may not know they are interacting with certain accessible components; consequently, administrators must understand which components are required to complete certain tasks.

Currently, all accessible components are either actions or views.

The rest of this section provides instructions for defining, editing, and deleting roles. The section is organized as follows:

Accessing the Authorization Page

To open the Authorization page, select the Configure tab and then select the Authorization tab. The Authorization page is displayed as follows:

Figure 7-1  Authorization Page

Use the Authorization page to create, edit, and remove roles.

This page consists of the following features:

Defining Directory Editor Roles

Before you can define new Directory Editor roles for your enterprise, you must decide which tasks a common set of users must perform. For example, all of your help desk administrators must have write access to directory data.

After you have identified these tasks, use the following steps to create a new role:

  1. Select Configure > Authorization.
  2. When the Authorization page is displayed (see Figure 7-1), click the Create Role button.
  3. On the Create Role page, enter a meaningful name into the Role Name text box. For example, Help Desk Administrators.
  4. Figure 7-2  Role Properties Tab
    Creating a new role

  5. Select the Principals tab and use the Principals selection tool to specify the set of principals you want to assume the new role.

  6. Note

    At this time, you can only assign groups as principals.


    Figure 7-3  Principals Tab
    Use the Principals selection tool to specify principals for the new role.

    • You can select one or more principals from the Principals list and click the button to move them to the Principals Who Assume This Role list. (Press your Shift key and click on items in the list to select multiple principals.)
    • Click the button to move all principals to the Principals Who Assume This Role list.
    • Click the button to move all principals from the Principals Who Assume This Role list back to the Principals list.
    • Select principals from the Principals Who Assume This Role list and click the button to move them back to the Principals list.
    • For example, you might assign the Directory Administrators to this role.

  7. Select the Accessible Resources tab (Figure 7-4) to specify the set of components that can be accessed by the new role.

  8. Note

    For a complete list of available resources; including their type, category, and a description see Appendix B, "Resources for Role Configuration."


    Figure 7-4  Accessible Resources Tab
    Use the Resources selection tool to specify resources that can be accessed by the new role.

    • Select one or more resources from the Resources list and click the button to move them to the Resources Accessible By This Role list. (Press your Shift key and click on items in the list to select multiple resources.)
    • Click the button to move all resources to the Resources Accessible By This Role list.
    • Click the button to move all resources from the Resources Accessible By This Role list back to the Resources list.
    • Select resources from the Resources Accessible By This Role list and click the button to move them back to the Resources list.
    • For example, for a Help Desk Administrator, you might want to assign all the Debug-related resources to this role.

  9. Click Save to save the new role and to add it to the Roles table (or click Cancel to return to the Authorization page without saving your changes).
  10. Figure 7-5 shows the updated Roles table.

    Figure 7-5  New Role Added to the Roles Table
    Example results: Adding a new role to the Roles table.

Editing Roles

To edit selected authorization roles, use the following steps:

  1. Select Configure > Authorization.
  2. When the Authorization page is displayed, click the checkbox located next to the role you want to edit.
  3. Figure 7-6  Click the Checkbox
    Enable the checkbox to identify the role you want to edit.

  4. Click the Edit Selected Roles button to open the Edit Roles page.
  5. Figure 7-7  Edit Role Page
    Use the Edit Roles page to edit the role properties, principals, or accessible resources.

  6. The process for editing a role is the same as the process you used to create it. Review the instructions provided in Defining Directory Editor Roles if necessary.
  7. When you are finished, click Save (or click Cancel to return to the Authorization page without saving your changes).

Deleting Roles


Note

You cannot delete the Manager or the Default roles.


To delete selected authorization roles, use the following steps:

  1. Select Configure > Authorization.
  2. When the Authorization page is displayed, enable the checkbox(es) located next to the role(s) you want to delete.
  3. Figure 7-8  Click the Checkbox
    Enable the checkbox to identify which role(s) you want to delete.

  4. Click the Delete Selected Role(s) button and Directory Editor will immediately remove the selected role(s) from the Roles table.


Working with Naming Attributes

This section provides instructions for defining, editing, and deleting naming attributes. The section is organized as follows:

Accessing the Naming Attributes Page

To create new objects, Directory Editor must know how to construct DNs (distinguished names) for the new objects.

For example, if your customer wants to use uid (user ID) as the naming attribute for inetOrgPerson instead of cn you might specify the following DN for a newly created entry:

cn=Mike Miller,dc=example,dc=com

instead of:

uid=mmiller,dc=example,dc=com

Directory Editor ships with a small set of default naming attributes to use for object classes, so it is important that you modify these mappings to match the naming conventions used by your enterprise for naming directory objects. You must configure any object class that you add to the create page with naming attributes.

To access the Naming Attributes page,

  1. Select the Configuration > Naming Attributes.
  2. The Naming Attributes page is displayed as follows:

    Figure 7-9  Naming Attributes Page
    Use the Naming Attributes page to create, edit, or delete naming attributes.

This page consists of the following features:

Creating New Object Class Naming Attribute Mappings

After you have identified these tasks, use the following steps to create a new naming attribute:

  1. Select Configure > Naming Attributes.
  2. When the Naming Attributes page is displayed (see Figure 7-9), click the New button.
  3. A new Naming Attributes page is displayed (Figure 7-10). Select the object class from the Object Class menu.
  4. Figure 7-10  New Naming Attributes Page
    Select an object class and use the Naming Attributes selection tool to create a new naming attribute.

  5. Use the Naming Attributes selection tool to specify naming attributes for the new object class, as follows:
    • Select one or more naming attributes from the Available Attributes list and click the button to move them to the Used Attributes list. (Press your Shift key and click on items in the list to select multiple naming attributes.)
    • Click the button to move all naming attributes to the Used Attributes list.
    • Click the button to move all naming attributes from the Used Attributes list back to the Available Attributes list.
    • Select naming attributes from the Used Attributes list and click the button to move them back to the Available Attributes list.
    • Use the (move up) and (move down) buttons to change the order of attributes in the Used Attributes list
    • For example, you might specify a new objectclass called exUser for extending the default user object and have an attribute called exIdentifier as the naming attribute.

      Figure 7-11  New Object Class and Naming Attribute Added to the Table
      Example: Using the Naming Attributes selection tool.

  6. Click Save to save the new object class and attribute(s) (or click Cancel to return to the Naming Attributes page without saving your changes).
  7. Figure 7-12 shows the new entry added to the Object Class table.

    Figure 7-12  Updated Table
    Example: New naming attribute added to table.

Editing Naming Attributes

To edit selected naming attributes, use the following steps:

  1. Select Configure > Naming Attributes.
  2. When the Naming Attributes page is displayed, click the checkbox located next to the role you want to edit.
  3. Figure 7-13  Click the Checkbox
    Enable the checkbox to indicate which role you want to edit.

  4. Click the Edit Selected button to open a new Naming Attributes page (similar to Figure 7-14).
  5. Figure 7-14  Editing the Naming Attributes
    Use the Naming Attributes selection tool to add or remove naming attributes to/from the role.

    Note that the Object Class menu is not available on this page. Instead, Directory Editor displays the selected object class name.

  6. Use the Naming Attributes selection tool to add or remove naming attributes. Review the instructions provided in Creating New Object Class Naming Attribute Mappings if necessary.
  7. When you are finished, click Save (or click Cancel to return to the Authorization page without saving your changes).

Deleting Selected Naming Attributes

To delete selected naming attributes, use the following steps:

  1. Select Configure > Naming Attributes.
  2. When the Naming Attributes page is displayed, enable the checkbox(es) located next to the object class(es) you want to delete.
  3. Figure 7-15  Click the Checkbox
    Enable the checkbox to indicate which role you want to delete.

  4. Click the Delete Selected button and Directory Editor will immediately remove the selected object class(es) from the table.


Previous      Contents      Index      Next     


Part No: 819-1078-10.   Copyright 2004 Sun Microsystems, Inc. All rights reserved.