Sun Identity Manager Service Provider 8.1 Deployment

IDMXUser View Reference

Attributes in the IDMXUser view are divided into the following categories:

Top-Level Attributes

The following table lists the system defined top-level attributes of the view.

Attribute 

Description 

sys 

An object containing internal system attributes related to the composite object. This is functionally similar to the waveset attribute in the Identity Manager user view, except that there are fewer items that can be modified. Many of the attributes in this object are action attributes, meaning that they are NOT stored, but setting them causes the check-in to perform certain actions.

info 

An object containing metadata about all of the objects linked to the composite object. This is functionally similar to the accountInfo attribute in the Identity Manager User view. This object is read-only.

objects 

An list of objects containing the attributes of accounts linked to the directory user. This is functionally similar to the accounts list in the Identity Manager User view.

display 

An object containing Generic Edit Form state. This is set only if you are using Identity Manager XML forms. 

command 

The command posted to the Generic Edit Form processor. This is set only if you are using Identity Manager XML forms. 

policy 

Policy-related attributes. See policy Attributes for more information.

Unlike the Identity Manager User view, the primary attributes of the composite object will be stored as top-level attributes of the view, rather then nested in waveset or accounts[Lighthouse]. The schema of the composite is variable, though the following attributes will always exist.

Attribute 

Description 

name 

The unique object name. For objects in directories, this is normally the uid not the full DN. For accounts, this is the name that the user would use to login.

password 

The password if this object represents an account. When the view is fetched, this will not have the current password. It may be set by the application to change the password. 

resources 

A list of Resource object names representing the assigned resources. 

applications 

A list of Application object names representing the assigned applications. This is the same as what Identity Manager refers to as “Resource Groups” in the user interface. 

roles 

A list of Role object names representing the assigned roles. 

In addition to the standard attributes, the following attributes will usually be defined in the composite object schema if the object represents a user account.

sys Attributes

The sys attribute retrieves and sets system characteristics. The following table defines the attributes currently defined under the sys attribute. The attribute will be shown as paths from the root of the view.

Action attributes do not have a value when checked out. An asterisk refers to the name of a resource. An attribute such as sys.links[*].name would be expanded to a value such as sys.links[HR Database].name .

Attribute 

Description 

sys.identity 

The full native identity of the object. For directory objects, this will be the DN. When creating new objects, this will override the identity template defined in the Resource. For existing objects, it must not be changed. 

sys.delete 

An action attribute that may be set to true to indicate that this object should be deleted.

sys.disable 

An action attribute that may be set to true to disable an account. If it is set to false, then the account is enabled. This is an action-only attribute. When the view is checked out, the attribute will not have a value.

sys.newIdentity 

An action attribute that may be set to another object identity to indicate that the object should be renamed. Not all resources support changing identities. 

sys.resetPassword 

An action attribute that may be set to true to indicate that the password should be reset.

sys.expirePassword 

An action attribute that may be set to true to indicate that the password should be expired.

sys.form 

The name of the form used to display or process this view, set only when Identity Manager XML forms are being used. 

sys.noDefaultForm 

An action attribute that may be set to true to prevent any default user form from being used. 

sys.links 

A list of objects holding information about the objects linked to the composite. This is functionally equal to the waveset.accounts in the user view. 

sys.lock 

If this boolean action is set to true, then when the IDMXUser view is checked-in (or refreshed), then the IDMXUserViewer will run the “Lock Account Rule” to set the appropriate values in the view to lock the account. If this rule is not specified in the configuration and sys.lock is true, an exception is thrown.

sys.locked 

Set to true if the account has been locked explicitly or due to too many failed login attempts. The IDMXUserViewer runs the “Is Account Locked Rule” to determine if the account is locked. 

sys.unlock 

If this boolean action is set to true, then when the IDMXUser view is checked-in (or refreshed), the IDMXUserViewer will run the “Unlock Account Rule” to set the appropriate values in the view to unlock the account. If this rule is not specified in the configuration and sys.lock is true, an exception is thrown.

sys.targets 

A list of resources, services, or applications that should be targeted on the check-in. The list can include the Resource, Service, or Application PersistentObjects themselves, or more usefully just their names. If no targets are specified, then the provisioner will provision to all assigned resources, service, and applications. 

sys.links[*].name 

A unique name used to identify the linked object in the view. Usually this is the same as the name of the Resource containing the linked object, but may be qualified if there is more than one linked object from this Resource. 

sys.links[*].resource 

The name of the Resource containing the linked object. Often the same as sys.links[*].name, but not necessarily. 

sys.links[*].type 

The type of the Resource containing the linked object. 

sys.links[*].identity 

The full native identify of the object. For directory objects, this will be the DN. 

sys.links[*].created 

Set to true if the object is believed to exist.

sys.links[*].disabled 

Set to true if the object is currently disabled.

sys.links[*].locked 

Set to true if the object is currently locked.

sys.links[*].fetched 

Set to true if the current attributes of the object have been fetched.

sys.links[*].attributes 

An object containing last known attribute values of the linked object. This will be set only when the application requests that the current values be fetched. They are not stored permanently in the composite. 

sys.txn.waitForFirstAttempt 

This attribute dictates how control returns to the caller when an IDMXUser view object is checked in. If set to true, the check-in operation will block until the provisioning transaction has completed a single attempt. If set to false, the check-in operation will return control to the caller before attempting the provisioning transaction. It is recommended to enable this option.

If asynchronous processing is disabled, then the transaction will have either succeeded or failed when control is returned. If asynchronous processing is enabled, then the transaction will continue to be retried in the background. 

sys.txn.enableAsynchronous 

This attribute controls whether processing of provisioning transactions continues after the check-in call returns. Since only a single attempt will be made synchronously, this option must be enabled if retrying transactions is desired. 

sys.txn.asynchronousMS 

An upper bound expressed in milliseconds of how long the server will retry a failed provisioning transaction. This setting complements the retry settings on the individual resources, including the master LDAP directory. For example, if this limit is reached before the resource retry limits are reached, the transaction will be aborted. If the value is negative, then the number of retries is only limited by the settings of the individual resources. 

sys.txn.persistImmediately 

If set to true, provisioning transactions will be written to the Transaction Persistent Store before they are attempted. Enabling this option might incur unnecessary overhead since most provisioning transactions will succeed on the first attempt. It is recommended to disable this option unless the waitForFirstAttempt attribute is disabled.

sys.txn.persistOnAsync 

If set to true, provisioning transactions will be written to the Transaction Persistent Store before they are processed asynchronously. If the waitForFirstAttempt attribute is enabled, then transactions that need to be retried will be persisted before control is returned to the caller. If the waitForFirstAttempt attribute is disabled, then transactions will always be persisted before they are attempted. It is recommended to enable this option.

sys.txn.persistOnEachUpdate 

If set to true, provisioning transactions will be persisted after each retry attempt.

The sys.txn attributes correspond to fields displayed on the Default Transaction Execution Options section of the Edit Transaction Configuration page of the Administrator Interface. This page sets the values globally.

The global values can be overridden in a user form as follows.

<Field name=’sys.txn.persistImmediately’/>
   <Default>
      <s>true</s>
   </Default>
</Field>

objects Attributes

The objects attribute contains a list of objects, each holding the editable attributes of the linked objects. It is similar to the accounts attribute in the Identity Manager User view. Like the Identity Manager User view, the attributes in each object are mostly arbitrary and defined by the Resource schema. The following attributes are defined by the system and will always exist.

Attribute 

Description 

objects[*].name 

A unique name used to identify the linked object in the view. Usually this is the same as the name of the Resource containing the linked object, but may be qualified if there is more than one linked object from this Resource. This name may be used to locate an object in the info attribute. 

objects[*].password 

May be used to set the password for accounts that support passwords. This value will initially be null for new accounts. When editing existing accounts, it will be non-null to indicate that a password has been set, but the value will not be the actual password. 

objects[*].locked 

Initially set to true if the linked object is an account and has been locked. May be changed to change the lock status of the account. This attribute is valid only if the associated resource supports account locking. To unlock a locked account, you must explicitly set this value to the string false . If you leave the value null, the current lock status will not be changed.

objects[*].sys.identity 

The full native identity of the object. For directory objects, this will be the DN. When creating new objects, this will override the identity template defined in the Resource. For existing objects, it must not be changed. 

objects[*].sys.delete 

An action attribute that may be set to true to indicate that this object should be deleted.

objects[*].sys.disable 

An action attribute that may be set to true to disable an account. If it is set to false, then the account is enabled. This is an action-only attribute. When the view is checked out, the attribute will not have a value.

objects[*].sys.resetPassword 

An action attribute that may be set to true to trigger a password reset. This will result in a randomly generated password being assigned. 

objects[*].sys.expirePassword 

An action attribute that may be set to true to indicate that the password should be expired.

objects[*].sys.unlink 

An action attribute that may be set to true to indicate that this object should be unlinked.

objects[*].sys.newIdentity 

An action attribute that may be set to another object identity to indicate that the object should be renamed. Not all resources may support identity changes. 

info Attributes

The info attribute contains metadata about the objects liked to this composite. It currently does not have much, but will evolve to contain information similar to that in the accountInfo attribute of the Identity Manager User view. There will however be much more control over the amount of information included.

Attribute 

Description 

info.resourceTypes 

A list of resource type names for all resources assigned to this user. 

policy Attributes

Account lockout occurs when a user has too many consecutive failed login attempts. This applies to both password-based login attempts and login attempts based on authentication questions. Separate limits for password-based and question-based account lockout are specified on the “Account Policy” section on the main configuration page. Accounts that are locked out can be explicitly unlocked by an administrator or implicitly when the lock expires, such as after one hour.

Since locking out accounts is LDAP-vendor specific, Service Provider allows you to configure rules that operate on the IDMXUser view to determine if an account is locked out, to update the view to lock an account, and to update the view to unlock an account.

The policy.questions[*] attributes will not be included in the IDMXUser view or updated unless the buildAuthQuestions option is set in the form.

Attribute 

Description 

policy.failedPasswordLoginAttemptsCount 

The number of consecutive password-based failed login attempts. When the user logs in successfully (either with a password or authentication questions), this value is reset. If this value is not present, it is assumed to be zero. (integer: read-only) 

policy.failedQuestionLoginAttemptsCount 

The number of consecutive authentication question-based failed login attempts. When the user logs in successfully (either with a password or authentication questions), this value is reset. If this value is not present, it is assumed to be zero. (integer: read-only) 

policy.questions[*].id 

The unique identifier that is used to associate this question with one defined in the policy. This is a read-only attribute. 

policy.questions[*].question 

The question text, which can be displayed to the user. This attribute is read-only. 

policy.questions[*].answer 

The user’s answer for the question, if specified. 

policy.questions[*].loginInterface 

The login interface with which this policy question is associated. Its value is a unique message catalog key for each loginInterface.