Escolar Documentos
Profissional Documentos
Cultura Documentos
Software Engineer
gabriel.magarino@gmail.com
www.javapassion.com/idm
Forms Overview
DM I ID M
The contents here are created as a own personal endeavor and thus does not reflect any official stance of Sun Microsystems on any particular technology
Forms
DM I ID M
The term form can describe both the web page where users enter information and the object that contains rules about how to display data in the view.
The term form typically refers to the object that contains rules about how to display data in the view.
A form is an object associated with a page that contains rules about how the browser should display user view attributes on that page.
Forms can incorporate business logic and are often used to manipulate view data before it is presented to the user.
DM I ID M
Identity Manager forms interact with an internal Identity Manager data structure called the user view. When customizing a form, you can call view attributes.
XPRESS Language
DM I ID M
DM I ID M
Undefined attributes.
The Tabbed User Form provides a mechanism for automatically generating text fields to edit resource account attributes for which fields are not explicitly defined. You can disable this feature in the form.
DM I ID M
Preserve privacy by limiting the amount of user account information displayed on the screen.
You may not want to present all of the information available for a user account depending on who is viewing the information because of concerns for privacy or to reduce the distraction from nonessential information.
Reduce the distraction of nonessential information for users performing a specific task.
The most effective way to present information is to display only the fields you need to accomplish the current task.
DM I ID M
This is particularly important when several different types of administrators must access different portions of the same view data and should not view all data attributes.
Particularly attributes displayed on the Create User and Edit User pages. These pages contain most of the attributes that need to be controlled.
Define default values for user view attributes and their associated attributes. Pre-process user view attributes before they are displayed.
For example, department or division codes that are stored as acronyms or by numeric ID in your resource can be represented with more human-readable full names to your user.
For example, you can automaticallycreate a mail account based on the value of a location field.
By customizing the arrangement of fields in an Identity Manager form, you can make it more closely resemble a printed form or pre-existing web form.
For example, a users email address can be calculated to be the users first name, a period, their last name, then the mail domain: joe.user@sun.com
DM I ID M
These forms, which can be part of either the Identity Manager Administrator or Identity Manager User Interface, include the pages that users use when:
Changing passwords Performing self-service Administrative tasks that involve account creation, system configuration, and workflow tasks
Forms that perform background-processing on information being imported into Identity Manager from an external resource.
For example, as part of the process of reading information from a Human Resource database into Identity Manager, a form checks employee status on incoming records. If the employee status is not active (A), the form defines a field that disables the Identity Manager account for that user.
DM I ID M
user/changeAll.jsp End
User Form
user/anonmmain.jsp approval/itemEdit.jsp
DM I ID M
Edited Forms
Edited Forms
These are the default forms that ship with Identity Manager, you will probably edit one of the following five forms:
DM I ID M
Approval Form
These edited forms control the creation and modification of users and the display of the main menu that the user sees.
Edited Forms
End User Menu Form
DM I ID M
End User Menu Form controls the display of the main menu in the Identity Manager User interface. This form contains links for changing the user's password, editing account attributes, and changing answers to authentication questions.
You can customize End User Menu Form to add links to launch special workflow processes that are accessible to the user (for example, a process to request access to a system).
Anonymous User Menu Form controls the display of the main menu in the Identity Manager User interface when an unknown user logs in. Identity Manager uses the anonymous end user pages for users who are not defined in the system through the process of user self-provisioning.
You can customize Anonymous User Menu Form to launch workflow processes to request services before an Identity Manager user exists.
Edited Forms
Tabbed User Form
DM I ID M
Tabbed User Form is the default form used for user creation and modification in the Identity Manager Administrator Interface.
You can customize a copy of this form by extending it with a form of your design.
Restrict the number of attributes that are displayed on the Edit User page.
Set the default field types to more helpful select boxes, checkboxes, and multi value fields.
Edited Forms
End User Form
DM I ID M
End User Form controls the page that the system displays when a user selects Change Other Attributes from the /user/main.jsp on the Identity Manager User interface.
From this page, a user can change his password, authentication questions, and email address.
You can customize End User Form to grant users control over other fields, such as those that handle phone numbers, addresses, and physical office locations.
Edited Forms
Approval Form
DM I ID M
Approval Form controls the information that is presented to a resource, role, or organization owner when he is designated an approver of user requests.
By default, this page displays a set of read-only fields that contain the name of the administrator that started the process.
DM I ID M
The user view is a data structure that contains all available information about an Identity Manager user. It includes:
Attributes stored in the Identity Manager repository Attributes fetched from resource accounts Information derived from other sources such as resources, roles, and organizations
Views contain many attributes, and a view attribute is a named value within the view (for example, waveset.accountId is the attribute in the user view whose value is the Identity Manager account name). Most form field names are associated with a view attribute. You associate a field with a view attribute by specifying the name of the view attribute as the name of the form field.
Form Evaluation
How the system processes a form helps determine the behavior of the form in the browser. All form-driven pages are processed similarly, as described below:
DM I ID M
A page is requested The interface requests a view from the server. The server assembles a view by reading data from one or more objects in the repository. Derivation expressions are evaluated. Default expressions are evaluated. HTML code is generated. The page is presented in the browser, and the user can edit the displayed values. Modified values are assimilated back into the view. Expansion expressions are evaluated. The view is refreshed. Derivation expressions are evaluated. The system processes the refreshed view and form and builds another HTML page, which is returned to the browser. The user can cause the view to be refreshed any number of times (repeating steps 7 through 12 each time) until the user either saves or cancels the changes. A. If the edit is canceled, all the data accumulated in the view is discarded, and the server is informed. B. If the edit is saved, the interface receives the values that have been modified and assimilates them into the view (see step 8). Validation expressions are evaluated. Once the changes have been made, the process returns to step 13. Expansion expressions are evaluated one last time (see step 9). If the server saves the view, results in the modification of one or more objects in the repository.
DM I ID M
Customization
Customization
The basic steps for create or customize any form in the Identity Manager system include:
DM I ID M
Customization
When you edit a form, you typically perform the following tasks:
DM I ID M
Forms Components
Fields
DM I ID M
DM I ID M
Property
Title Class Required Action No New Row Hidden Specifies the text that displays adjacent to the form field
Description
Identifies the HTML display class to which the element belongs. Identifies whether the element is required to process the form. When set, a change causes the page to refresh any Select or MultiSelect controls. Used strictly for form layout. When true, forces the field to appear to the right of the proceeding field. Indicates the field should not be visible to the user. The field is typically used to set attribute values that are calculated form other fields. Controls the character width of the control (text boxes). Specifies the character width of the control buffer (text boxes). Characters scroll if the user types in a string greater than the value specified by the size property. Identifies the name for this form field, typically a path expression in to the view that is used with this form.
Title Class
Required
Gabriel Magario
Software Engineer
gabriel.magarino@gmail.com
www.javapassion.com/idm
Forms Overview