[Mailman-Developers] JAVA API to administer Mailman

Barry Warsaw barry at list.org
Sun Sep 7 19:48:19 CEST 2014


On Sep 07, 2014, at 09:02 AM, Stephen J. Turnbull wrote:

>For Mailman 3, there is the REST API which can be used, and there are
>several Python applications that provide alternative APIs and UIs in
>development.  It's possible that those can be run on the JVM using the
>Jython implementation of Python, but I don't know if Jython can be
>embedded in a Java application.  (It is possible for Jython to call
>other Java libraries, though, so if you're lucky you might be able to
>translate your main program to Python and do most development in
>Java.)

Of course, the whole point to exposing a REST API is that bindings can be
easily written in any language, since it's just HTTP and JSON.

One caveat though is that the core's REST API is an unauthenticated
"administrative" API that should only ever be exposed on localhost.  The idea
is that Postorius or other equivalent would proxy the admin API through an
authentication layer.

Cheers,
-Barry


More information about the Mailman-Developers mailing list