Hotfix 78968

Version
This hotfix concerns SDL Tridion 2011 SP1.
Problem description
Ability to override Claim Store behavior for read-only claims. The Ambient Data Framework does now allow you to alter the behavior of the Claim Store. This specific scenario is about supporting SmartTarget profiles in which different values should override the default values in the Claim Store. This is done to simulate different visitors and their Claims.
Hotfix description
An implementer can now define a custom ClaimStoreProvider to control the behavior of the Claim Store in the Ambient Data Framework. You can configure a ClaimStoreProvider by adding the following element in the <Configuration> element of the cd_ambient_conf.xml file, for example:
<ClaimStoreProvider>com.tridion.ambientdata.claimstore.providers.DotNetClaimStoreProvider</ClaimStoreProvider>
The string value ClaimStoreProvider needs to point to a class in the classpath which implements the com.tridion.ambientdata.claimstore.providers.ClaimStoreProvider interface. The interface defines a single method which needs to return a valid not null ClaimStore to be used by Ambient Data Framework:
/**
  * Creates a new instance of a Claim Store to be used by Ambient Data Framework.
  *
  * @return new instance of a Claim Store to be used by Ambient Data Framework.
  */
 public ClaimStore newClaimStore();
Distributed files
cd_ambient_conf_sample.xml
x86\Tridion.ContentDelivery.AmbientData.dll
x86\Tridion.ContentDelivery.Interop.dll
x86_64\Tridion.ContentDelivery.AmbientData.dll
x86_64\Tridion.ContentDelivery.Interop.dll
cd_ambient.jar java
cd_core.jar schemas
cd_ambient_conf.xsd
Fixes included
None
Dependencies
None