AEM - Java code needs to access frontend resource ( in /etc.clientlibs)
Hi folks,
I have some Java code which needs to write an image to a pdf file. The image is located in the code, in frontend/src/main/webpack/resources/images/blah.gif/jcr:content.
Eventually the build system puts the image at the following location:
/apps/xxx/clientlibs/resources/images/blah.gif/jcr:content
which the proxy servlet maps to
/etc.clientlibs/xxx/clientlibs/resources/images/blah.gif/jcr:content
The Java code works fine on Author ( I assume because I am logged in), but not on the publishers. Does the "anonymous" user have to have explicit read access permission at the path to the image at /apps/xxx/clientlibs/resources/images/blah.gif/jcr:content ?
tnx
Fiona