【发布时间】:2026-01-07 06:05:01
【问题描述】:
我想使用文本文件配置 Apache Sling Service 用户映射器服务。我在jcr_root/apps/sling/config 下创建了一个文件,该文件名为 org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.json。
这是文件的内容:
{
"jcr:primaryType":"sling:OsgiConfig",
"user.mapping" : "artifact.name=systemUserName"
}
文件已在 JCR 中创建并且属性已正确解析,但未配置服务。如何解决这个问题?
【问题讨论】: