Versions Compared

Key

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

...

  1. Log into the ES Management Console.

  2. On the Main menu, click Claim Management.

  3. Click http://wso2.org/claims under AVAILABLE CLAIM DIALECTS.


    The claim mappings that correspond to the selected claim dialect appears.

  4. Click Add New Claim Mapping to add a new claim mapping that does not already exist.
  5. Enter the details required in the NEW CLAIM DETAILS form.

    Excerpt
    Info
    iconfalse
    • Display Name: Name This is the name of the dialectclaim displayed on the UI. 

    • Description: Describe the dialect, such as, what it is designed for, etcThis gives you the option to describe the functionality of the claim.

    • Claim Uri: Each dialect should have at least one claim when defining itThis is the URI defined under the dialect, specific to the claim. There are different URIs available in Carbon 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 for this claim.Regular Expression: Regular expression that is mapped to the Claim Uri value. When you have multiple user stores connected to ES, this maps the 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 example, your Mapped Attribute value would read as follows: PRIMARY/attribute1;AD/attribute2;JDBC/attribute3.

    • Regular Expression: This is the regular expression used to validate inputs for this claim.

    • Display Order: Display order of the above claim among all 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 at the time of during user registration.

    • Required: Whether This specifies whether this claim is mandatory required for user registration or not. Note that the The claim will only appear in the user registration form if this field is checked.

    • Read-only: If the input for this claim mapping is taken directly from the userstore, then you need to make the claim mapping as read-only, by enabling the read-only option, to prevent the user from being able to input any details for this fieldThis specified whether the claim is modifiable.

  6. Click Add to add the new claim mapping.

...