| View previous topic :: View next topic |
| Author |
Message |
davout Guest
|
Posted: Thu Feb 10, 2005 9:27 am Post subject: Newbie JAAS question TOMCAT--> JBoss |
|
|
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?
|
|
| Back to top |
|
 |
davout Guest
|
Posted: Fri Feb 11, 2005 12:11 pm Post subject: Re: Newbie JAAS question TOMCAT--> JBoss |
|
|
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 (AT) dial (DOT) pipex.com> wrote
| Quote: | 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?
|
|
|
| Back to top |
|
 |
|