The following dialects are defined by default with the WSO2 Claim Management Component.
- - Default dialect for WSO2 Carbon
- - Default dialect for OpenID Attribute Exchange
- - Default dialect for OpenID Simple Registration
You can add new claim mapping to an existing claim dialect.
- Sign in to the management console by entering your username and password.
- Click the Configure button to access the Configure menu.
- In the Configure menu, select Claim Management.
- Click on any available dialect link.
- Click on the Add New Claim Mapping link.
Enter the required information:
See the following table for descriptions of these fields.
Claim details Description Display Name This is the name of the claim displayed on the UI. 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. Description This 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 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 equivalent attribute in all of them to the Claim Uri you are configuring. For example, if you specify the
cnattribute, this is mapped to the
cnattribute 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:
Regular Expression This is the regular expression used to validate inputs. Display Order 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 This specifies whether this claim is required for user registration.
- Click the Add button to add the claim mapping.
- A new claim mapping is displayed in the list.