Previous Topic: Configure Required AttributeNext Topic: Configure the Self-Registration Confirmation Task


Configure a Custom Self-Registration Task

The product includes the following predefined self-registration tasks:

Task

Tag

Description

Create New Account

CAMSelfRegistration

Supports self-registration with email confirmation

Create New Account

CAMSelfRegistrationDomainValidation

Supports self-registration with email confirmation and validates the email domain

Create New Account

CAMSelfRegistrationWorkflow

Supports self-registration with email confirmation, and includes a one-step workflow approval process.

To enable self-registration with email confirmation, these tasks are associated with a business logic task handler (BTLH), which performs custom business logic during data validation operations for a current task.

The BLTHSelfRegEmailConfirm business logic task handler performs the following operations when the user self registers:

The default self-registration tasks also includes a password meter and a Captcha control.

If the default tasks do not meet business requirements, administrators can create a custom task.

Follow these steps:

  1. Make a copy or edit an existing self-registration task.
  2. Add the BLTH that enables email confirmation by completing the following steps:
    1. Click Business Logic Task Handlers, Add.
    2. Enter the following values:
      • Name: BLTHSelfRegEmailConfirm
      • Java Class: com.netegrity.webapp.selfreg.BLTHSelfRegEmailConfirm
    3. (Optional) Add properties to the BLTH.

      Two properties are supported:

      WellKnown

      Specifies the well-known attribute that BLTHSelfRegEmailConfirm uses to store the activation code.

      If you do not specify a value, the default %ACTIVATION_ID% well-known attribute is used.

      Message

      Specifies an optional message that overrides the default message.

      The default message, which resembles the following, appears in the User Console when the user submits the self-registration task:

      "Your account has been created. Please check your email and follow the directions to enable your account."

    4. Click OK twice to return to the Profile tab.
  3. Configure the task screen:
    1. Click Tabs.
    2. Browse for the CAM Self Registration Profile screen. Select the screen, then click Edit.
    3. To enable configure the password meter, click the pencil icon to edit the Choose a Password field.
    4. To configure Captcha settings, including the display theme,edit the Captcha field.

      If the Captcha field is not defined for the self-registration profile screen, add a separator field. Select Captcha as the style.

      Enter the following required values in the Captcha field definition:

      • PrivateKey: 6Lduf78SAAAAAOjrYFefpGfu9gGII5lGxy-RIGCq
      • PublicKey: 6Lduf78SAAAAADgXIU0vLq4lrFWH96Rc5zac730f
    5. Make other screen changes as needed.
    6. Click OK to return to the Select Screen Definition screen. Click Select.
  4. Click OK, then Submit.