Previous Topic: Create a Rule for Self-RegistrationNext Topic: Add Self-Registration Rule and Response to the Policy


Create a Response for Self-Registration

Create a self-registration response for your tenant.

Follow these steps:

  1. In the CSP console, click Policies, then click Domain.
  2. Click Responses.
  3. Click Create Response.

    The Create Response: Select Domain screen appears.

  4. Select the tenant domain for which you are configuring OAuth, and click Next.

    The Create Response: Define Response screen appears.

  5. Enter a name and description for the response. Name the response to reflect the authorization scheme, provider and tenant, for example:
  6. Click Create Response Attribute

    The Create Response Attribute screen appears.

  7. In the Attribute Type Area, under the Attribute drop-down, select:

    WebAgent-OnReject-Redirect

  8. In the Attribute Setup area, enter the following URL in the Variable Value field:

    https://<hostname>/iam/im/<tenantpublicalias>/ui7/index.jsp?task.tag=CAMSelfRegistrationOpenFormat

    <hostname> is your tenant domain. <tenantpublicalias> is the public name of your tenant domain.

    If you do not know the public alias for your tenant, log in to the Management Console, click Environments, then click the tenant environment you want. Copy the tenant Public Alias and enter it in the above URL in place of <tenantpublicalias>.

  9. Click Ok.

    The Create Response: Define Response screen appears, updated with the attribute you created.

  10. Click Create Response Attribute

    The Create Response Attribute screen appears.

  11. In the Attribute Type Area, under the Attribute drop-down, select:

    WebAgent-HTTP-Cookie-Variable

  12. In the Attribute Setup area, under Attribute Kind, select Active Response.
  13. In the Attribute Setup area, under Attribute Fields, enter the following values:

    Note: As you enter the previous values, the values are reflected in the Script field. When you have finished entering these values, the Script field reads:

    SMDEFAULT=<@lib="smjavaapi" func="JavaActiveExpression" param="com.ca.sm.expression.activeresponse.OpenFormatCookieExpression /opt/CA/siteminder/config/properties/<openformatexpression_file.conf>" @>

  14. Click Ok.

    The Create Response: Define Response screen appears, updated with the attribute you created.

  15. Click Finish.

    The system creates the self-registration response for your tenant.