Emerson,
there is an example for remote client in the article. Have you managed
to get it working? If you do it, I think, you won't have many problems
to get it working for remote Tomcat.


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

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

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

MJ> Mike

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


>> Hi Alex, although this article (almost the JAAS book chap.) is very good,
MJ> it
>> doesn't touch the point when tomcat is in a separate machine without
MJ> 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
MJ> with
>> JBoss. Other app server vendors are making a proof of concept in which
MJ> 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
MJ> 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
MJ> 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

Reply via email to