Service user configuration

The URL handler required a service user mapping for detecting client libraries located at /apps or /libs with “allowProxy” mode, to rewrite resource URLs pointing to them to /etc.clientlibs.

Create a service user mapping for the factory configuration org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended with an entry like this:

user.mapping=["io.wcm.handler.url:clientlibs-service\=sling-scripting"]

The service user sling-scripting that comes with AEM can be used for this.

This configuration is required on both author and publish instances.

Back to top

Version: 1.3.1-SNAPSHOT. Last Published: 2019-08-22.