Create an authorization rule with Web Portal Manager

We can create an authorization rule with Web Portal Manager.

To create an authorization rule, complete the following steps.

Steps

  1. Use Web Portal Manager to log on to the domain as a domain administrator.

  2. Click AuthzRule > Create AuthzRule to display the Create AuthzRule page.

  3. Type the AuthzRule Name for the authorization rule to create (for example, r2). Do not use the following characters in the name of a rule:
    ! " # & ( ) * + , ; : < > = @ \ |

  4. In the Description field, type a description of the authorization rule. For example, type the following text:
    time-of-day rule for engineering object space

  5. In the AuthzRule Text field, type the text of the rule policy. For example, type the following information:
    <xsl:template match="/XMLADI">
      <xsl:if test="(AmountReqd +JohnSmith/CreditCard/Balance)
        <JohnSmith/CreditCard/Limit
          and JohnSmith?mileagePlus/MemberStatus='100k'>
        !TRUE!
      </xsl:if>
    </xsl:template>

  6. In the Fail Reason field, type the text to be returned to the resource manager if the rule denies access to a protected object. For example, type error.

  7. Click Create. If successful, the new rule is displayed as a link on the Manage AuthzRules page. If we select the authorization rule link, the properties of that rule are displayed.

Parent topic: Create an authorization rule