如何在AEM 6.1中创建系统用户(rep:SystemUser)? [英] How to create a system user (rep:SystemUser) in AEM 6.1?
问题描述
在AEM 6.1上。我正在尝试创建一个系统用户(rep:SystemUser)。有人可以帮我吗?
On AEM 6.1.. I am trying to create a System User (rep:SystemUser). Can anyone help me?
我需要这个系统用户映射到OSGI中的一个服务,该服务我想用来向aem内容写入一些数据。
I need this system-user to map to a service in OSGI that i want to use to Write some data to aem content.
我可以在以下位置看到CRX中的系统用户:/ home / users / system
I can see the "system users" in CRX at this location: /home/users/system
我试图创建一个新节点,以使用 jcr:primaryType rep:SystemUser创建一个新用户,并定义了rep:PrincipalName,但是该属性未设置为 Protected = true,默认情况下将保护=假,因此保存该节点失败并显示该消息。
I tried to create a new node to create a new-user with "jcr:primaryType rep:SystemUser", and defined the rep:PrincipalName, but that property is not being set as "Protected=true", by default is is taking as "Protected = false" and so saving the node is failing with that message.
参考: http://aemfaq.blogspot.com/2015/01/aem6-default-groups-users-without.html
推荐答案
继续pacoolsky的注释,添加了通过CRX Explorer工具创建新的系统用户的步骤:
Continuing with pacoolsky's comments adding the steps to create a new "system user" through CRX Explorer tool:
- 打开 http:// localhost: 4502 / crx / explorer / index.jsp
- 以管理员身份登录
- 单击用户管理
- 点击Cr eate系统用户
- 设置UserId单击带有勾号的绿色按钮(看不到SAVE
按钮)
- Open http://localhost:4502/crx/explorer/index.jsp
- Login as admin
- Click User Administration
- Click Create System User
- Set the UserId Click green button with tick (cannot see a SAVE button)
这篇关于如何在AEM 6.1中创建系统用户(rep:SystemUser)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!