## WCM Commons System Configuration

### Service user configuration

The Component Property Resolver 

WCM Commons requires a service user mapping for accessing component properties in the `/apps` folder.

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.wcm.commons:component-properties\=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**.
## WCM Commons System Configuration

### Service user configuration

WCM Commons requires a service user mapping for accessing component properties in the `/apps` folder.

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

```
user.mapping=["io.wcm.wcm.commons:component-properties\=[sling-scripting]"]
```

The principal `sling-scripting` that comes with AEM can be used for this.

This configuration is required **on both author and publish instances**.

Use principal-based authentication for service user mapping of wcm.io services. Requires AEM 6.4 an up.
Use principal-based authentication for service user mapping of wcm.io services. Requires AEM 6.4 an up.
