After establishing a resource, you create an application role that lets customers make Web-based purchases as long as they have not exceeded their credit limit.
Note: The following procedure assumes that you are creating an object. You can also copy the properties of an existing object to create an object. For more information, see Duplicate Policy Server Objects.
To create this credit-based role
The Create Role dialog appears.
The Create Role dialog opens.
PurchasewithCredit
Indicates that the customer will use credit to pay for their purchases.
@IsUnderCreditLimit
The role expression is the product of the two virtual user attribute expressions #Balance and #CreditLimit, which calculate whether or not the user has exceeded his credit limit.
You have created a role called PurchasewithCredit, whose value is the combination of two named expressions.
To provide a more personalized experience for the customer, the retail clothing company can configure a response that lets customers who are over their credit limit apply for increased credit. If a customer has exceeded their credit limit, this response will redirect them to a credit application where they can apply for a higher credit limit.
To create a response
The Create Response dialog opens.
CreditNotice
Alerts users they have exceeded credit limit.
The Create Response Attribute dialog opens.
WebAgent-OnReject-Redirect
Static
http://catalog.retailcorp.com/credit_notice.jsp
Note: Complete descriptions of response attributes exist in the Web Agent Configuration Guide.
The response named CreditNotice has been created and will be sent to customers who exceed their credit limit.
After you have defined the resource, role, and response, configure the policy that secures the Web-based shopping application.
Follow these steps:
The Policies dialog opens and displays a table listing the Checkout resource and the PurchaseWithCredit role displayed.
This pairing establishes a policy that lets all customers make a purchase with the store's credit card, if they have not exceeded their credit limit. Additionally, by checking the role the Responses grid becomes populated.
You now have a security policies for the online catalog application based on roles that define a spending limit. Additionally, a response is associated with the policy and will be sent to those customers who continue to make purchases after exceeding their limit.
The retail clothing company wants to ensure that there is some descriptive information about the online catalog application. Custom attributes can be used to provide metadata that describes the application.
The retail clothing company wants to note that the application is only for the online catalog and the email address of the administrator of this application.
To specify metadata for the online catalog application:
The Custom Attributes dialog opens.
A table appears with Name and Value fields.
App_Function
online_retail
Admin_email
jdoe@retailcorp.com
You have completed all the available tasks related to creating an application security policy.
Copyright © 2012 CA.
All rights reserved.
|
|