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? 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.
精彩评论