AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie JAAS question TOMCAT--> JBoss

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java
View previous topic :: View next topic  
Author Message
davout
Guest





PostPosted: Thu Feb 10, 2005 9:27 am    Post subject: Newbie JAAS question TOMCAT--> JBoss Reply with 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
davout
Guest





PostPosted: Fri Feb 11, 2005 12:11 pm    Post subject: Re: Newbie JAAS question TOMCAT--> JBoss Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.