简体   繁体   English

如何连接到Apache James的用户存储库并通过Java代码检索用户列表?

[英]How can I connect to Apache James' user repository and retrieve a list of users through Java code?

How can I connect to Apache James' user repository and retrieve a list of users through Java code? 如何连接到Apache James的用户存储库并通过Java代码检索用户列表? Is there a way using the Apache James api? 有没有办法使用Apache James api?

Thank You Chris 谢谢你克里斯

The answer is rather simple if you know how. 如果你知道如何,答案很简单。

Have a look at the Java Management eXtension (JMX) and study the UserManagementMBean . 查看Java Management eXtension(JMX)并研究UserManagementMBean

-> edit: - >编辑:
the more concise link to the implementation of UserManagementMBean UserManagementMBean实现的更简洁的链接

Currently, I can't provide code samples because I'm a JMX beginner myself at the moment. 目前,我无法提供代码示例,因为我现在自己是JMX的初学者。
Perhaps you could add some links to my question about James about Apache James learning resources . 也许你可以添加一些关于James关于Apache James学习资源的问题的链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM