Configuring the UGC Cartridge in the Content Delivery Web services

The UGC cartridge for the Ambient Data Framework takes care of, amongst others, the Content Delivery side of a UGC-Audience Manager integration. Configure a different Claim Processor for your visitors' Web service or your moderators' Web service.

Before you begin

You need to have the Ambient Data Framework enabled in the Web applications that contain your Content Delivery Web services.

Procedure

  1. Access the SDL Tridion installation media.
  2. Navigate to the Content Delivery\resources\configurations\ folder.
  3. Copy the file ugc_ambient_cartridge_sample.xml from the Content Delivery\resources\configurations\ folder on the installation media to the WEB-INF/classes/ subdirectory (JSP) or bin\config\ subfolder (.NET) of the location where one of your Content Delivery Web services is running, and rename it to ugc_ambient_cartridge.xml.
  4. Only if you are modifying the Content Delivery Web service intended for visitors, do the following:
    1. Find the ClaimProcessorDefinition element that has an ImplementationClass element ending in PostAllowedByOwnerClaimProcessor, and remove the comment tags around it.
    2. Find the ClaimProcessorDefinition element that has an ImplementationClass element ending in PostAllowedByEveryoneClaimProcessor, and enclose this element in comment tags.
    3. Save and close ugc_ambient_cartridge.xml.
    Now only those visitors who are the actual authors of a comment can edit or delete their own comments.
  5. Only if you are modifying the Content Delivery Web service intended for moderators, set up security for the Content Delivery Web service as explained in the security topics. This ensures that only moderators can use this Content Delivery Web service.
  6. Access the WEB-INF/classes/ subdirectory (JSP) or bin\config\ subfolder (.NET) of the location where your Content Delivery Web service is running and open the file cd_ambient_conf.xml.
  7. In the <Cartridges> section, add the following Cartridge element:
    <Cartridge File="ugc_ambient_cartridge.xml" />
  8. Save and close cd_ambient_conf.xml.
  9. Repeat these steps for the other Content Delivery Web service Web application.