For Programmers: Free Programming Magazines  


Home > Archive > Java Security > February 2005 > Newbie JAAS question TOMCAT--> JBoss









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Newbie JAAS question TOMCAT--> JBoss
davout

2005-02-10, 8:59 am

I have an existing web application that uses a non-EJB business tier and its
own JAAS login module. Currently the app runs in a Tomcat deployment.outside
of any app server.

The web app now needs to be changed to access some EJB based business tier
session objects running under JBoss in a different JVM. Given that the
JBoss session beans have their own role/authentication requirements is it
possible to somehow pass the Tomcat JVM JAAS results/status across to the
JBoss JVM? Or is the only way to move the web app and Tomcat to run under
JBoss?

Are here any good reference pages that explain the main issues of running
Tomcat under JBoss?




davout

2005-02-11, 8:59 am

I found the answer whilst browsing thru the 'EJB Cookbook' in my local
bookstore.

When the web app retrieves an JNDI InitialContext as a prior step to
retrieving the EJB home interface it can pass the JAAS authentication
identifiers into the InitialContext constructor as parameters.


"davout" <davZZZYYYXXXout@dial.pipex.com> wrote in message
news:420b28fb$0$29425$cc9e4d1f@news.dial.pipex.com...
>I have an existing web application that uses a non-EJB business tier and
>its own JAAS login module. Currently the app runs in a Tomcat
>deployment.outside of any app server.
>
> The web app now needs to be changed to access some EJB based business tier
> session objects running under JBoss in a different JVM. Given that the
> JBoss session beans have their own role/authentication requirements is it
> possible to somehow pass the Tomcat JVM JAAS results/status across to the
> JBoss JVM? Or is the only way to move the web app and Tomcat to run under
> JBoss?
>
> Are here any good reference pages that explain the main issues of running
> Tomcat under JBoss?
>
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com