Configuration of Realm Administration

This configuration uses the newly introduced context data item realm. It is possible to choose a different context data item (e.g. company) to achieve the same result.

Configuration of the realm feature

  • Prerequisites
  • The choice, which context data item will hold the realm value must have been made.
  • The database schema of IAM 7.4 or later is required if the realm attribute is to be used.
  • This feature requires the license tag: RealmAdministration
  1. Instruction
  2. Go to:
    Adminapp >> Advanced Settings
  3. Create a Realm Administration plugin.
  4. In the Realm Administration plugin:
    Create an Admin Realm Context Data Name and assign an identifier to it to reference it again later on.
  5. In the Admin Realm Context Data Name:
    Configure the name of the administrator's context data item holding the realm value.
  6. In the Realm Administration plugin:
    Create a User Realm Context Data Name and assign an identifier to it to reference it again later on.
  7. In the User Realm Context Data Name:
    Configure the name of the user's context data item holding the realm value.
  8. This enables IAM to use the realm administration feature.

Configuration of the Realm Attribute

  • Prerequisites
  • The context data item chosen to hold the realm value for users must exist in the database schema for end-users.
  • The context data item chosen to hold the realm value for administrators must exist in the database schema for administrators.
  1. Instruction part 1– User Data Source and Admin Persister
  2. Go to:
    Adminapp >> Users >> User Data Source >> User Store >> Database User Persister
  3. In Context Data Columns:
    Create a String Context Data Item and reference the previously created Context Data Name for end-users.
  4. Go to:
    Adminapp >> Administrators >> Administrator Management >> Admin Persister
  5. In Context Data Columns:
    Create a String Context Data Item and reference the previously created Context Data Name for end-users to the realm administrator.
  6. The realm attribute is now available for both end-users and realm administrator.
  1. Instruction part 2 – User Context Data Attribute for the realm
  2. Go to:
    Adminapp >> Users >> Columns In User List
  3. Create a String User Profile Item with:
    1. Identifier – Set Realm Admintool Label.
    2. String Resource Key - Set the identifier for the language-specific string tables
    3. Property Name – Set the user's realm context data attribute
    4. Optional – Not set, because the realm attribute is mandatory.
    5. Modifiable – Not set, because the realm attribute cannot be changed.
    6. Prefill – Create a Realm Value Provider plugin with the value @realm@.
  4. Go to:
    Adminapp >> Users >> Rows On User Detail Page
  5. Add the previously created String User Profile Item Realm Admintool Label.
  6. The realm attribute is now visible in the user list, the user detail page and in the user create dialog. The realm attribute will be prefilled with the realm value.
  1. Instruction part 3 – Username prefixed with the realm value (optional)
  2. These steps are optional and only required if the username should be prefixed with the realm value.

  3. Go to:
    Adminapp >> Users >> Username Prefill
  4. Create a Realm Value Provider plugin with the necessary prefill pattern.
  5. Go to:
    Adminapp >> Users >> Username Validator
  6. Create a Realm Username Validator plugin.
  7. The username will now be prefilled with the realm value and it will be validated.

Admin Context Data Attribute for Realm

  1. Instruction
  2. Go to:
    Adminapp >> Administrators >> Administrators Management >> Columns in Admin List
  3. Create a String User Profile Item with:
    1. Identifier – Set Realm Admintool Label to ADMIN
    2. Property Name – Set the admin's realm context data attribute.
    3. Optional – Set enabled (the realm attribute is optional).
    4. Modifiable – Set enabled, to make the realm attribute changeable.
  4. Go to:
    Adminapp >> Administrators >> Administrators Management >> Rows on Admin Detail Page
  5. Add the String User Profile Item Realm Admintool Label ADMIN.
  6. The realm attribute is now visible in the realm administrator's list, administrator detail page and the administrator create dialog.