This feature is available from eZ Publish
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Workflow
- Reverse proxy receives the HTTP request (without the user hash).
Reverse proxy does a sub-request (emulated in the case of HttpCache).
Sub-request must have the following headers:
X-HTTP-Override: AUTHENTICATE
Accept: application/vnd.ez.UserHash+text
- Original cookie (mainly to keep trace of the sessionId)
eZ Publish returns an HTTP response containing the user hash in
X-User-Hash
header.Reverse proxy adds the
X-User-Hash
header to the original request.
...
Tip | ||
---|---|---|
| ||
You can customize user hash generation. Read How to customize UserHash generation in the developer cookbook to learn more about this. |
Varnish
Described behavior comes out of the box with Symfony reverse proxy, but it's of course possible ot use Varnish to achieve the same.
...