The ProfileRequestServlet contains a profileRequestProcessors property, which is an array of a ProfileRequestProcessor interface. Preview user swapping is implemented through the /atg/userprofiling/PreviewProfileRequestProcessor component, which is an implementation of atg.userprofiling.ProfileRequestProcessor.
The table below shows the properties of the PreviewProfileRequestProcessor component.
Property  | Type  | Required  | Description  | 
|---|---|---|---|
  | 
  | No  | An implementation of   | 
  | Repository  | Yes  | The repository that contains the preview users.  | 
  | String  | No  | The item type of the preview users to use. The default item type for the repository is used if this property is not set.  | 
  | String  | No  | The name of the repository item ID query parameter  | 
  | String  | No  | The name of the force preview query parameter  | 
The default values for these properties are shown below:
$class=atg.userprofiling.PreviewProfileRequestProcessor previewCriteria=/atg/userprofiling/DefaultPreviewCriteria previewRepository=/atg/userprofiling/ProfileAdapterRepository previewItemType=user

