RE: Last question on JAAS I promise

2005-08-10 Thread David G. Friedman
Wendy, Sounds like you're re-inventing SecurityFilter. :) (Yes, I've read their code) Regards, David -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 10:46 AM To: Struts Users Mailing List Subject: Re: Last question on JAAS I prom

Re: Last question on JAAS I promise

2005-08-10 Thread Wendy Smoak
From: "Mark Benussi" <[EMAIL PROTECTED]> The end result with my JAAS implementation was that I successfully got the JAAS code invoked from tomcat via the LoginContext, however I had to, excuse my language, bastardise my app to place the Subject in the session after authentication, and then ove

RE: Last question on JAAS I promise

2005-08-10 Thread Mark Benussi
more progress. Thanks to everyone for their input -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 10 August 2005 11:28 To: Struts Users Mailing List Subject: Re: Last question on JAAS I promise My bet is that Mark will get will get 95% of the way there but not be ab

Re: Last question on JAAS I promise

2005-08-10 Thread Adam Hardy
EMAIL PROTECTED] on 09/08/05 22:04, wrote: Thanks Craig. Well Mark, I'd be interested in hearing how it turns out. Good luck. Erik -Original Message- From: Craig McClanahan <[EMAIL PROTECTED]> Sent: Aug 9, 2005 4:42 PM To: Struts Users Mailing List , [EMAIL PROTECTED] Subject:

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
Thanks Craig. Well Mark, I'd be interested in hearing how it turns out. Good luck. Erik -Original Message- From: Craig McClanahan <[EMAIL PROTECTED]> Sent: Aug 9, 2005 4:42 PM To: Struts Users Mailing List , [EMAIL PROTECTED] Subject: Re: Last question on JAAS I promise

Re: Last question on JAAS I promise

2005-08-09 Thread Craig McClanahan
On 8/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I found my login-config.xml. Suddenly I fear that I had this working in JBoss > but not stand-alone Tomcat, but yet I *know* I was calling isUserInRole. At > the same time, I remember the propagation problem between Tomcat and JBoss, > an

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
oup_id AND auth_user_group.user_id = auth_user.user_id AND auth_user.username = ? Erik -Original Message- From: [EMAIL PROTECTED] Sent: Aug 9, 2005 4:08 PM To: Struts Users Mailing List Subject: Re: Last question on JAAS I promise Mark, when I did this, I had isUserInRole working correctly. I rem

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
Mark, when I did this, I had isUserInRole working correctly. I remember that the problem was, I could either "log in with Tomcat" or "log in with JBoss", but there was no propagation between the two. At that point I put it on hold. Also, if the archives go back far enough, I remember a long thre

Re: Last question on JAAS I promise

2005-08-09 Thread Adam Hardy
To: Struts Users Mailing List Subject: Re: Last question on JAAS I promise Date: Tue, 09 Aug 2005 09:49:59 +0100 Mark Benussi on 09/08/05 08:39, wrote: OK I got JAAS working with form authentication. That worked a treat (After a bit of head banging). I then moved to invoking the login from Struts (

RE: Last question on JAAS I promise

2005-08-09 Thread David G. Friedman
) connector in one of their modules. Regards, David -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 6:37 AM To: user@struts.apache.org Subject: Re: Last question on JAAS I promise Um wow so Form authentication works but not my own. Thats

Re: Last question on JAAS I promise

2005-08-09 Thread Mark Benussi
variable I have to set? Original Message Follows From: Adam Hardy <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Last question on JAAS I promise Date: Tue, 09 Aug 2005 09:49:59 +0100 Mark Benussi on 09/08/05 08:39,

Re: Last question on JAAS I promise

2005-08-09 Thread Adam Hardy
Mark Benussi on 09/08/05 08:39, wrote: OK I got JAAS working with form authentication. That worked a treat (After a bit of head banging). I then moved to invoking the login from Struts (Or a Servlet for Tomcat users who don't use Struts) The code still gets invoked correctly. IBTJAASCallbackHa