473,320 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

MailMan integrated with JSP/Servlet integration

Hi,
Wonder if anyone can help me.

I have a client for whom we are building a website using J2SE & TOMCAT
4.1.7. (at clients request). The client also has an installation of
MailMan that they would like us to use to validate registered users.

All well and good, but given that the bulk of the websites code will
be written using Java, and MailMan is written in Python - this seems
to represent a problem or two : e.g. how will the Java code
interrogate the MailMan installation to find out whether a user has
validated correctly? Is there any kind of Java interface that anyone
knows about?

Any help would be most welcome,
Thanks, Michela.
Jul 18 '05 #1
5 2213
Am Sa, den 15.05.2004 schrieb michela rossi um 15:39:
Hi,
Wonder if anyone can help me.

I have a client for whom we are building a website using J2SE & TOMCAT
4.1.7. (at clients request). The client also has an installation of
MailMan that they would like us to use to validate registered users.

All well and good, but given that the bulk of the websites code will
be written using Java, and MailMan is written in Python - this seems
to represent a problem or two : e.g. how will the Java code
interrogate the MailMan installation to find out whether a user has
validated correctly? Is there any kind of Java interface that anyone
knows about?

Well the authentication game is fairly easy: Just access an URL that
requires authentication.

This should work both ways: Java -> Mailman and Mailman -> Java :)

Andreas

Jul 18 '05 #2
Andreas Kostyrka <an*****@kostyrka.org> wrote in message news:<ma************************************@pytho n.org>...
Am Sa, den 15.05.2004 schrieb michela rossi um 15:39:
Hi,
Wonder if anyone can help me.

I have a client for whom we are building a website using J2SE & TOMCAT
4.1.7. (at clients request). The client also has an installation of
MailMan that they would like us to use to validate registered users.

All well and good, but given that the bulk of the websites code will
be written using Java, and MailMan is written in Python - this seems
to represent a problem or two : e.g. how will the Java code
interrogate the MailMan installation to find out whether a user has
validated correctly? Is there any kind of Java interface that anyone
knows about?

Well the authentication game is fairly easy: Just access an URL that
requires authentication.

This should work both ways: Java -> Mailman and Mailman -> Java :)

Andreas

Andreas,

Thanks - but I don't really understand the reply. Can you expand at all?
Thanks, Michela.
Jul 18 '05 #3
mi*************@hotmail.com (michela rossi) writes:
Andreas,

Thanks - but I don't really understand the reply. Can you expand at all?
Thanks, Michela.


The easiest way is to make a seperate page (and it doesn't matter what
it's written in) that authenticates users and issues authentication
cookies. Then you need to change mailman and the java stuff to
respect those cookies.

For an example, see Yale's CAS:
http://www.yale.edu/tp/cas/

--
Christopher A. Craig <li*********@ccraig.org>
"Remember not to sacrifice volume for tone" -- Matt Seale
Jul 18 '05 #4
li*********@ccraig.org (Christopher A. Craig) wrote in message news:<ma***********************************@python .org>...
mi*************@hotmail.com (michela rossi) writes:
Andreas,

Thanks - but I don't really understand the reply. Can you expand at all?
Thanks, Michela.


The easiest way is to make a seperate page (and it doesn't matter what
it's written in) that authenticates users and issues authentication
cookies. Then you need to change mailman and the java stuff to
respect those cookies.

For an example, see Yale's CAS:
http://www.yale.edu/tp/cas/


Sounds good - except cookies not allowed.
Jul 18 '05 #5
mi*************@hotmail.com (michela rossi) writes:
Sounds good - except cookies not allowed.


I don't see how you're going to use mailman at all then. The stock
version of mailman is very cookie dependent and I don't know of any
patch that changes that.

--
Christopher A. Craig <li*********@ccraig.org>
Though He slay me, I will hope in Him. -- Job 13:15
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Hai Tran | last post by:
Any help is appreciated. Installed Tomcat 4.1 and Mysql on a WinXP. I've manage to get Tomcat up and was able to view my first application ( myhome ) simple home page. Tomcat was installed under...
0
by: Barry A. Warsaw | last post by:
I've released version 2.1.3 of Mailman, the GNU Mailing List Manager. Mailman is released under the GNU General Public License (GPL). Version 2.1.3 is a bug fix release which also contains support...
2
by: James McFarland | last post by:
I have a web app developed in ASP.NET + C# that is using VSS via SourceOffSite. Can a developer with Visual C# .NET Standard use that to work on the project? Will they be able to modify aspx...
2
by: svintuss | last post by:
Hi. I'm new to blog scripts and engines, so I've got a silly question :-) Is there any script that could be integrated in an existing site? The site was created with RapidWeaver (a Mac tool), and...
1
by: sang | last post by:
Hi I prepared a program for Email Integration. That is email send to others through servlet's. I gave the code but it has some error in my code. Please check the code and give the feedback. ...
14
by: ramadeviirrigireddy | last post by:
Hi All, I have the following code for form and servlet. when the form is submitted the servlet will print the values passed by the form. i'm not getting the servlet o/p when i submit the...
6
by: Sushmita | last post by:
hi all, I have wrriten code for a small web application. From my JSP page i am not able to call the servlet.. its throwing an exception. "javax.servlet.ServletException: Wrapper cannot find...
1
by: shiyamala | last post by:
Hi i am shiyam, i am having some problem in java, i am basic java programmer. i have to write one program is writing the data into textfile name "newfile.txt" from one servlet and read it from...
1
by: stepby | last post by:
Hi All, I would like to ask how to post the data without the form. What I want to do is that there are 2 web site -- webA , webB. I want to try doing the login integration for webA and webB....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.