Versions Compared

Key

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

The user registration form, which is also known as the sign up form, is generated using claims and is primarily used to gather user information which is used by ES. The As the information required by business entities will differ based on their strategies. Therefore, WSO2 ES facilitates the option for the administrator to customize the registration form to suite the entities business requirements.

Info

As ES is built on top of WSO2 Carbon. The , the user registration form is populated by claims which are mapped through WSO2 Carbon. There are several claims configurations in Carbon and for self signup ES uses ; however, only the following default Carbon claim which is the default dialect for WSO2 Carbondialect is used for self signup (registration) in ES: http://wso2.org/claims

The following screenshot depicts the fields in the default ES user registration form.

...

  • Adding a new claim mapping
    This allows you to add a new field in the user registration form. When adding the claim mapping for the new claim, you need to select the required checkbox for , so that the claim to will appear as a field in the user registration form.
  • Editing a claim mapping
    If you wish to edit the fields in the user registration form (such as, change the order or a field, hide a field etc.), then you can edit the claims that respective claim mappings, which correspond to those fields in the user registration form.
  • Deleting a claim mapping
    If you do not want a certain field to permanently appear in the user registration form, then can delete the claim mapping that corresponds to that field.

...

Follow the instructions below to add a new claim mapping:

  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 available claims under the claim mappings that correspond to the selected claim dialect that you selected appears.

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

    Excerpt
    Info
    iconfalse
    • Display Name: Name of the dialect.

    • Description: Describe the dialect, such as, what it is designed for, etc.

    • Claim Uri: Each dialect should have at least one claim when defining it.

    • Mapped Attribute: Corresponding attribute name from the underlying user store for this claim.

    • Regular Expression: Regular expression to validate inputs for this claim.

    • Display Order: Display order of the above claim among all the other claims defined under the same dialect.

    • Supported by Default: If unchecked, this claim will not be prompted at the time of user registration.

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

    • Read-only

  6. Click Add to add the new claim mapping.

Editing a claim mapping

Follow the instructions below to update a claim mapping:

  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 available claims under the claim mappings that correspond to the selected claim dialect that you selected appears.

  4. Click Edit corresponding to the claim mapping that you want to edit.

  5. Edit the required fields of in the UPDATE CLAIM DETAILS form. Note that the claim Uri can not be updated.
    Insert excerpt
    Customizing the User Registration Form
    Customizing the User Registration Form
    nopaneltrue
  6. Click Update to save the changes made.
    Navigate to the ES Store or Back Office (Publisher) and click Register to access the registration page and . Thereafter, refresh the registration page to view the customized registration form with the newly added customizations.

Deleting a claim mapping

Follow the instructions below to delete a claim mapping:

  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 available claims under the claim mappings that correspond to the selected claim dialect that you selected appears.

  4. Click Remove claim mapping corresponding to the claim that you want to delete.

  5. Click yes to delete the selected claim mapping.