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 - 11 Feb 2005 12:11 GMT
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.
>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
[quoted text clipped - 9 lines]
> Are here any good reference pages that explain the main issues of running
> Tomcat under JBoss?