Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
Note
titleVersion compatibility

Compatible with eZ Publish

Status
title5.2
Status
colourYellow
title5.3
and
Status
title2013.07
(up to 2014.11)

Warning
titleDeprecated

This recipe is deprecated as of

Status
colourYellow
title5.4
/
Status
colourYellow
title2014.11
.
Use user context providers from FOSHttpCacheBundle instead.

...

Info

Be sure to have read Context aware HTTP cache documentation before reading this recipe.

Description

 

...

When user hash generation is requested, eZ Publish will create a hashable User Identity object.

One can add information to the Identity object making the resulted hash vary. This can be done by registering Identity definers.

 

For this, all you need to do is to declare a service with ezpublish.identity_definer tag. Class for this service must implement eZ\Publish\SPI\User\IdentityAware interface.

...