This documentation is for WSO2 Identity Server 5.0.0. View documentation for the latest release.
Page Comparison - Adding New Claim Mapping (v.4 vs v.5) - Identity Server 5.0.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Sign in to the management console by entering your username and password.
  2. Click the Configure button to access the Configure menu.
  3. In the Configure menu, select Claim Management.
  4. Click on any available dialect link.
  5. Click on the Add New Claim Mapping link.
  6. Enter the required information:
    Image ModifiedSee the following table for descriptions of these fields.

    Claim detailsDescription
    Display Name
    - Name
    This is the name of the claim displayed on the UI.
    Description - Describes the
    This can be viewed in the user's profile by navigating to the Configure tab in the management console and clicking Users and Roles. In the resulting page, click Users and in the list of users that are displayed, click User Profile next to the one you wish to check.
    DescriptionThis gives you the option to describe the functionality of the claim.
    Claim Uri
    -
    This is the URI defined under the dialect, specific to the claim. There are different URIs available in the Identity Server and these equate to user attributes displayed in the profile of users. These URIs are mapped to the attributes in the underlying user store.
    Mapped Attribute
    - Corresponding
    This is the corresponding attribute name from the underlying user store that is mapped to the Claim Uri value. When you have multiple user stores connected to the Identity Server, this maps the
    attributes
    equivalent attribute in all of them to the Claim Uri you are configuring. For example, if you specify the cn attribute, this is mapped to the cn attribute in all the connected user stores. If you want to specify the attribute in a specific user store, you must add the domain name in addition to the mapped claim. For example, in a scenario where you have a primary user store configured called PRIMARY and secondary user stores called AD (representing Active Directory) and JDBC, you can map an attribute from each of these user stores to the Claim Uri value by entering them in a semi-colon separated list. In this
    scenario
    example, your Mapped Attribute value would read as follows: PRIMARY/attribute1;AD/attribute2;JDBC/attribute3.
    Regular Expression
    - Regular expression
    This is the regular expression used to validate inputs.
    Display Order
    - Display order of the claim
    This enables you to specify the order in which the claim is displayed, among the other claims defined under the same dialect.
    Supported by Default
    -
    If unchecked, this claim will not be prompted during user registration.
    Required
    - Whether
    This specifies whether this claim is required for user registration.
  7. Click on the Add button to add the claim mapping.
  8. A new claim mapping is displayed in the list.

...