Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-21 Thread Scott M Stark
erson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 1:29 PM Subject: Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction > ...I was trying to run an embedded tomcat client talking to jboss in the > same VM! Ther

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-21 Thread Lewis Henderson
...I was trying to run an embedded tomcat client talking to jboss in the same VM! There is another issue to this in that you cannot have override java.security.auth.login.config for the client as the server also uses it! If I use stand-alone tomcat everything seems to work...I'm still holding m

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-21 Thread Scott M Stark
, 2001 1:31 PM Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction > ...I tried the three new jars...I get the same problem...However, the > problem is 'client' side. > > Using two machines, both with JBoss & Embedded Tomcat

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-20 Thread Lewis Henderson
2001 04:59 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction Currently(JBoss-2.2.1) the security information that is obtained from the server request is stored in a ThreadLocal and so is only available to the request thread.

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-20 Thread Lewis Henderson
:-( tomcat Servlet => Jboss EJB => JAAS Authentiaction Currently(JBoss-2.2.1) the security information that is obtained from the server request is stored in a ThreadLocal and so is only available to the request thread. You need to propagate the security information to any child threads. As of

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread Scott M Stark
Currently(JBoss-2.2.1) the security information that is obtained from the server request is stored in a ThreadLocal and so is only available to the request thread. You need to propagate the security information to any child threads. As of JBoss-2.3, security information is stored in an Inheritabl

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread Lewis Henderson
system reporting that your user is authenticated before each request is processes? -dain -Original Message- From: Lewis Henderson [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 9:07 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB =&g

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread Dain Sundstrom
request is processes? -dain -Original Message- From: Lewis Henderson [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 9:07 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction ...I am using 'struts' wi

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread Lewis Henderson
To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction |...I am using 'struts' with an initial logon action that connects to a |StatefulSessionBean and stores its reference in the session for use by |actions later on in

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread marc fleury
]On Behalf Of marc fleury |Sent: 19 May 2001 14:46 |To: [EMAIL PROTECTED] |Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => |JAAS Authentiaction | | |If the threads are spawned by a same thread, we need to implement |InheritableThreadLocal behavior and then the asso

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread Lewis Henderson
|[mailto:[EMAIL PROTECTED]]On Behalf Of Lewis |Henderson |Sent: Saturday, May 19, 2001 7:24 AM |To: [EMAIL PROTECTED] |Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => |JAAS Authentiaction | | |...I've found the cause of my original problem...now I need an answ

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread marc fleury
, 2001 7:24 AM |To: [EMAIL PROTECTED] |Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => |JAAS Authentiaction | | |...I've found the cause of my original problem...now I need an answer... | |My client is multi-threaded...I login successfully on the first |thread.

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread Lewis Henderson
ue or something deeper? Lewis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of awc Sent: 18 May 2001 22:01 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction OK, so this pipes into to wh

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread awc
OK, so this pipes into to what ever you have set up. Tks for the clarification. anil. Dain Sundstrom wrote: > Anil, > > No, the code I posted simply hands login off to JAAS. You can use the > JaasServerLoginModule, the DatabaseServerLoginModule, or any other login > module (I wrote my own). B

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread Dain Sundstrom
ties files. -dain -Original Message- From: awc [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 12:26 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction Dain, don't you have to add this to auth.conf (

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread Lewis Henderson
ECTED]' Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction Last month I sent the following message, which details how I integrated the Tomcat and JBoss security systems. Scott Stark has written a new JBoss realm that work similar to mine. His ne

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread awc
Dain, don't you have to add this to auth.conf (if you use PostgreSQL) org.jboss.security.plugins.samples.DatabaseServerLoginModule required dsJndiName="java:/jdbc/PostgresDB" principalsQuery="select password from principals where principalid=?" rolesQuery="select role, rolegroup from roles wher

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread Lewis Henderson
o:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: 18 May 2001 16:39 To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction Last month I sent the following message, which details how I integrated the Tomcat and JBoss

RE: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-18 Thread Dain Sundstrom
Last month I sent the following message, which details how I integrated the Tomcat and JBoss security systems. Scott Stark has written a new JBoss realm that work similar to mine. His new JBoss realm is available in CVS (I'm not sure where) and I think will be in the next release of JBoss. I h