如何在AEM 6.1中创建系统用户(rep:SystemUser)? [英] How to create a system user (rep:SystemUser) in AEM 6.1?

查看:162
本文介绍了如何在AEM 6.1中创建系统用户(rep:SystemUser)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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:


  1. 打开 http:// localhost: 4502 / crx / explorer / index.jsp

  2. 以管理员身份登录

  3. 单击用户管理

  4. 点击Cr eate系统用户

  5. 设置UserId单击带有勾号的绿色按钮(看不到SAVE
    按钮)

  1. Open http://localhost:4502/crx/explorer/index.jsp
  2. Login as admin
  3. Click User Administration
  4. Click Create System User
  5. Set the UserId Click green button with tick (cannot see a SAVE button)

这篇关于如何在AEM 6.1中创建系统用户(rep:SystemUser)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆