开发者

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

开发者 https://www.devze.com 2023-02-21 10:22 出处:网络
How can I connect to Apache James\' user repository and retrieve a list of users through Java code? Is there a way using the Apac开发者_如何学Gohe James api?

How can I connect to Apache James' user repository and retrieve a list of users through Java code? Is there a way using the Apac开发者_如何学Gohe 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.

-> edit:
the more concise link to the implementation of UserManagementMBean

Currently, I can't provide code samples because I'm a JMX beginner myself at the moment.
Perhaps you could add some links to my question about James about Apache James learning resources.

0

精彩评论

暂无评论...
验证码 换一张
取 消