如何将 AzMan XML 存储导出到另一台计算机?
你好 我试图找到一种方法来重新创建当前在开发盒上的 AzMan XML 存储中定义的所有角色、任务操作等以及 QA 盒上的 XML 存储。当然,仅仅将 XML 文件复制到 QA 框是行不通的。
有谁知道是否有工具可以在另一台计算机上导出或重新创建 AzMan XML 存储? 谢谢
Hi
Im trying to find a way to recreate the all of the Roles, tasks operations etc that are currently defined in an AzMan XML store on our Dev box in an XML store on our QA box. Of course just simply copying the XML file to the QA box does not work.
Does anyone know if there is a tool to export or recreate the AzMan XML store on another machine?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
实际上,将 XML 文件从一个位置复制到另一个位置效果很好。这就是我们现在正在做的事情。但是,将文件从一个位置复制到另一位置也会复制所有用户。因此,如果您在测试 XML 中定义了测试用户,那么它们都将被复制到另一台计算机。
Actually copping XML file from one location to another works fine. That is how we are doing right now. However copying file from one location to another location will also copy all users as well. So if you have test users defined in test XML they all will be copied to another machine.
如果您的组分配使用不同的域,则复制 XML 文件将不起作用。我们的 QA 设备与我们的开发和生产设备位于不同的域中,因此 SID 不匹配,并且您可能已经知道,AzMan 仅使用 SID 来分配组。如果每个人和所有机器都在同一个域中,则 SID 不会更改,并且 XML 存储可以从 Dev 复制到 QA。
另外,检查 QA 框中新复制的 XML 文件的权限是否适当(运行应用程序的进程可以访问,也可能运行应用程序的用户可以访问)。
Copying the XML file will not work IF your group assignments use different domains. Our QA box is in a different domain from our dev and production boxes, so the SIDs do not match, and, as you probably already know, AzMan uses only SIDs for assignments into groups. If everybody and all machines are in the same domain, then the SIDs won't change, and the XML store can be copied from Dev to QA.
Also, check that the permissions for your newly copied XML file on the QA box are appropriate (accessible by the process running your app, and possibly by the users running your app).