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
- Use Web Portal Manager to log on to the domain as a domain administrator.
- Click AuthzRule > Create AuthzRule to display the Create AuthzRule page.
- 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:
! " # & ( ) * + , ; : < > = @ \ |
- 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
- 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>
- 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.
- 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