使用 ssoadm 创建 Openam 领域 - set-realm-svc-attrs 失败

发布于 2024-12-02 08:25:27 字数 682 浏览 1 评论 0原文

我正在尝试使用命令行中的 ssoadm 工具在 openam 中创建一个新领域,但无法完成该操作。问题是我无法配置“组织身份验证配置”和“管理员身份验证配置”(显示在“身份验证”选项卡的 UI 中)以指向我的新身份验证链。从文档中的搜索中,我发现这是使用 ssoadm 指定的 set-realm-svc-attrs 命令来实现的

-e myRealm -s iPlanetAMAuthService  -a iplanet-am-auth-admin-auth-module=myChain

-e myRealm -s iPlanetAMAuthService  -a iplanet-am-auth-org-config=myChain

但是,当我执行该命令时,出现以下错误

No plug-ins configured for this operation
com.sun.identity.cli.CLIException: No plug-ins configured for this operation

我做错了什么?

这使得领域处于一种状态,我必须通过管理控制台进入,导航到新领域的“身份验证”选项卡,然后单击“保存”才能激活领域。如果未完成此操作,当我尝试访问领域登录页面时,会显示“未找到配置”的错误消息。

I am attempting to create a new realm within openam using the ssoadm tool from the command line and am unable to complete the operation. The problem is that I cannot cannot configure the "Organization Authentication Configuration" and "Administrator Authentication Configuration" (displayed in the UI in the Authentication tab) to point to my new authentication chain. From seaches in the documentation I find that this is to be achieved using the set-realm-svc-attrs command of ssoadm specifying

-e myRealm -s iPlanetAMAuthService  -a iplanet-am-auth-admin-auth-module=myChain

and

-e myRealm -s iPlanetAMAuthService  -a iplanet-am-auth-org-config=myChain

However, when i execute the command I get the following error

No plug-ins configured for this operation
com.sun.identity.cli.CLIException: No plug-ins configured for this operation

What am i doing wrong?

This leaves the realm in a state where i have to go in via the admin console, navigate to the Authentication tab of the new Realm and click save in order to activate the realm. When this not done an error message of "No configuration found" is displayed when i attempt to access the realm login page.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

幸福丶如此 2024-12-09 08:25:27

由于一些奇怪的设计决策,某些 ssoadm 命令/控制台设置可能需要存在数据存储配置。 “没有为此操作配置插件”消息实际上意味着 OpenAM 尝试使用 IdRepo(数据存储)API 来执行给定的操作,并且领域内可能有也可能没有数据存储配置,但没有一个实际上支持给定身份类型的给定操作(请参阅 LDAP 数据存储中的 LDAPv3 插件支持的类型和操作设置作为示例)

一个可能与此非常相关的问题是:https://bugster.forgerock.org/jira/browse/OPENAM-1323

Due to some strange design decisions, certain ssoadm commands/console settings may require the presence of a Data Store configuration. The "No plug-ins configured for this operation" message actually means, that OpenAM tried to use the IdRepo (Data Store) API to perform a given operation and there may or may not were Data Store configurations within the realm, but none of them did actually support the given operation with the given identity type (see LDAPv3 Plug-in Supported Types and Operations setting in LDAP Data Stores as an example)

A probably very much related issue on this would be: https://bugster.forgerock.org/jira/browse/OPENAM-1323

千年*琉璃梦 2024-12-09 08:25:27

您可以使用以下命令来配置“组织身份验证配置”: -

ssoadm add-svc-attrs -e <YourRealm>  -s iPlanetAMAuthService -u amAdmin \
       -f <password file location for amAdmin>  \
       -a iplanet-am-auth-org-config=<Your Auth Chain>

以相同的方式您可以配置“管理员身份验证配置”。

You could use following command to configure the "Organization Authentication Configuration":-

ssoadm add-svc-attrs -e <YourRealm>  -s iPlanetAMAuthService -u amAdmin \
       -f <password file location for amAdmin>  \
       -a iplanet-am-auth-org-config=<Your Auth Chain>

In the same manner you could configure "Administrator Authentication Configuration" .

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文