...this is defiantly NOT my area of expertise...how do we get this done?

Are there any examples of similar stuff, or is it 'open heart surgery' ?

Lewis

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
Sent: 19 May 2001 15:24
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 the process...The initial connection and all method
|calls in the logon action work ok as this is thread1 however when the
|reference is retrieved from the session by another action it (may) executes
|in thread2...This is where all the wheels drop off!

Yes I repeat that the associations are done at the thread level and if you
use another thread you don't have the associations hence your application is
not "authenticated".  The only way around is a ITL construct in the security
and transaction storages.

Actions in struts are executed by independent threads??? The flow is not
thread family dependent?

marc
|
|Lewis
|
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]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 associations are kept in the
|child threads.
|
|marc
|
|
||-----Original Message-----
||From: [EMAIL PROTECTED]
||[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 answer...
||
||My client is multi-threaded...I login successfully on the first
||thread...then when another thread tries to use the remote
|interface (stored
||in the session) I get the security exception!
||
||Is this just a config issue 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 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).  By default JBoss 'other' context uses the
||> JaasServerLoginModule which uses a users.properties and roles.properties
||> files.
||>
||> -dain
||
||
||_______________________________________________
||JBoss-user mailing list
||[EMAIL PROTECTED]
||http://lists.sourceforge.net/lists/listinfo/jboss-user
||
||
||_______________________________________________
||JBoss-user mailing list
||[EMAIL PROTECTED]
||http://lists.sourceforge.net/lists/listinfo/jboss-user
|
|
|
|_______________________________________________
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user
|
|
|_______________________________________________
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to