MailMan integrated with JSP/Servlet integration

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • michela rossi

    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.
  • Andreas Kostyrka

    #2
    Re: MailMan integrated with JSP/Servlet integration

    Am Sa, den 15.05.2004 schrieb michela rossi um 15:39:[color=blue]
    > 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?[/color]
    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

    Comment

    • michela rossi

      #3
      Re: MailMan integrated with JSP/Servlet integration

      Andreas Kostyrka <andreas@kostyr ka.org> wrote in message news:<mailman.4 3.1084640492.41 57.python-list@python.org >...[color=blue]
      > Am Sa, den 15.05.2004 schrieb michela rossi um 15:39:[color=green]
      > > 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?[/color]
      > 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[/color]


      Andreas,

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

      Comment

      • Christopher A. Craig

        #4
        Re: MailMan integrated with JSP/Servlet integration

        michela_rossi66 @hotmail.com (michela rossi) writes:
        [color=blue]
        > Andreas,
        >
        > Thanks - but I don't really understand the reply. Can you expand at all?
        > Thanks, Michela.[/color]

        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:


        --
        Christopher A. Craig <list-python@ccraig.o rg>
        "Remember not to sacrifice volume for tone" -- Matt Seale


        Comment

        • michela rossi

          #5
          Re: MailMan integrated with JSP/Servlet integration

          list-python@ccraig.o rg (Christopher A. Craig) wrote in message news:<mailman.8 .1084798433.694 9.python-list@python.org >...[color=blue]
          > michela_rossi66 @hotmail.com (michela rossi) writes:
          >[color=green]
          > > Andreas,
          > >
          > > Thanks - but I don't really understand the reply. Can you expand at all?
          > > Thanks, Michela.[/color]
          >
          > 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/[/color]

          Sounds good - except cookies not allowed.

          Comment

          • Christopher A. Craig

            #6
            Re: MailMan integrated with JSP/Servlet integration

            michela_rossi66 @hotmail.com (michela rossi) writes:
            [color=blue]
            > Sounds good - except cookies not allowed.[/color]

            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 <list-python@ccraig.o rg>
            Though He slay me, I will hope in Him. -- Job 13:15


            Comment

            Working...