Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / February 2005

Tip: Looking for answers? Try searching our database.

Newbie JAAS question TOMCAT--> JBoss

Thread view: 
davout - 10 Feb 2005 09:27 GMT
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?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.