在 openfire 中注册新用户?

发布于 2024-07-21 13:25:55 字数 86 浏览 4 评论 0原文

无论如何,是否可以在 OpenFire 中通过 HTTP 请求注册新用户。 我希望用户能够在用 cocoa 编写的应用程序中注册我的消息服务。 这可以吗?

Is there anyway to register new users through an HTTP request in OpenFire. I want users to be able to sign up for my messaging service from within an app written in cocoa. Can this be done??

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

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

发布评论

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

评论(6

甜是你 2024-07-28 13:25:55

查看 Web 管理控制台的创建用户页面 (http://:/user-create.php)。 它使用简单的 HTTP GET 表单来创建新用户。 我想您可以从该页面的源中提取提交 URL 和各种必填字段,并从您的 Cocoa 应用程序构建您自己的 GET 请求。

Take a look at the web administration console's create-a-user page (http://<openfire-server>:<port>/user-create.php). It uses a simple HTTP GET form to create a new user. I imagine you could pull the submit URL and various required fields from the source of that page and build your own GET request from your Cocoa app.

若言繁花未落 2024-07-28 13:25:55

在 Openfire 中注册新用户的最简单方法是 UserService 插件。 只需看一下 http://www.igniterealtime.org/projects/ openfire/plugins/userservice/readme.html

The easiest way to register a new user in Openfire is the UserService plugin. Just take a look at http://www.igniterealtime.org/projects/openfire/plugins/userservice/readme.html

花期渐远 2024-07-28 13:25:55

您可以使用 openfire 管理控制台中提供的可用用户服务插件,选择插件选项卡,选择可用插件,然后单击绿色 + 按钮安装用户服务插件; 其次,进入服务器选项卡 -> 服务器设置页面,并确保启用用户服务插件 在此处输入图像描述

希望这可以帮助其他人~~~~~~~~~~

you can use the available user service plugin which is available in openfire admin console, choose the plugin tab, choose available plugin and click the green + button to install user service plugin; second, go to the server tab ->server setting page, and make sure you enable the user service plugin enter image description here

hope this can help the others~~~~~~~~~~

沩ん囻菔务 2024-07-28 13:25:55

您可以在 openfire 中使用 REST API 插件

转到插件,然后转到可用插件,然后添加 REST API 插件,然后转到帮助页面或

https://www.igniterealtime.org/projects/openfire/plugins/restapi/readme.html

您将获得所有其余 API 在 openfire 中执行操作

You can use rest API plugin in openfire

Go to plugin then go to available plugin then add rest API plugin then go to help page or

https://www.igniterealtime.org/projects/openfire/plugins/restapi/readme.html

You'll get all the rest API to perform operation in openfire

把回忆走一遍 2024-07-28 13:25:55

您可以使用 XEP-77 中指定的带内注册从您将需要 XMPP 连接。

You can use in-band registration as specified in XEP-77 to add accounts from the XMPP connection you're going to need.

本宫微胖 2024-07-28 13:25:55

在 openfire 服务器中查找 http-bind

http://localhost:9090/http-bind.jsp

我使用 strope js 客户端库与我的 Rails Web 项目配合得很好,所以我想你也可以使用你自己的 xmpp 库在你的 cocoa 项目中实现它

lookup about http-bind in your openfire server

http://localhost:9090/http-bind.jsp

I use strope js client lib work with my rails web project well, so I guess you can also use your own xmpp lib to realize it in your cocoa project

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