We used JBoss with non-embeded Tomcat by simply writing a servlet that acts
as an EJB client.  To do it this way, your servlet will have to log-in to
JBoss (with JAAS) at the beginning of the request, execute the request, and
then log-out again.

A concise example is right here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosstest/src/main/org/
jboss/test/web/servlets/ClientLoginServlet.java?rev=HEAD&content-type=text/v
nd.viewcvs-markup
(If you can't click on that link, the example's in CVS at
"jboss/jbosstest/src/main/org/jboss/test/web/servlets/ClientLoginServlet.jav
a")

There might be a simpler, more integrated way to do it (I have no idea), but
I think this is the portable way.

Mike

----- Original Message -----
From: "Emerson Cargnin - MSA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 5:09 PM
Subject: Re: [JBoss-user] JAAS : Remote Tomcat and JBoss


> Hi Alex, although this article (almost the JAAS book chap.) is very good,
it
> doesn't touch the point when tomcat is in a separate machine without
JBoss.
> Could anyone help in this, i haven't found any article or discussion about
> this, and this will be our case. 700 bank offices talking to EJB server
with
> JBoss. Other app server vendors are making a proof of concept in which
they
> have to make tomcat talks through JAAS with their EJB containers, and i'm
> (as a independent consultant) trying to do the same using JBoss. But I
can't
> find any clue to make TOmcat as stand-alone authenticate and authorize the
> remote clients through JAAS. If JBoss win this proof of concept, we are
> going even to buy JBoss service support.
>
> Any help woul'd be great.
>
> ----- Original Message -----
> From: "Alex Loubyansky" <[EMAIL PROTECTED]>
> To: "Emerson Cargnin - MSA" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, May 10, 2002 3:33 AM
> Subject: Re: [JBoss-user] JAAS : Remote Tomcat and JBoss
>
>
> > Hello Emerson,
> >
> > Tuesday, April 09, 2002, 11:23:52 PM, you wrote:
> >
> > ECM> Has anyone been succefull in integration JAAS security between
remote
> TOMCAT
> > ECM> and JBOSS ??
> >
> > ECM> Emerson
> >
> > Here is an example for embedded Tomcat and remote client (by Scott
> > Stark)
> > http://www.javaworld.com/javaworld/jw-08-2001/jw-0831-jaas_p.html
> > Haven't you tried the remote example to apply for remote Tomcat?
> >
> > --
> > Best regards,
> >  Alex Loubyansky                           mailto:[EMAIL PROTECTED]
> >
> >
> >
> > _______________________________________________________________
> >
> > Have big pipes? SourceForge.net is looking for download mirrors. We
supply
> > the hardware. You get the recognition. Email Us:
[EMAIL PROTECTED]
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to