Re: My first JAAS implementation. Part 2

2005-08-09 Thread Mark Benussi
Thanks Erik that was a huge help. I realised that I needed to invoke the LoginModule form a LoginContext. I have done this but im still missing a trick. My code gets invoked correctly from an action however it doesnt the next page which display the remote user etc is now null. Ill keep on digg

Re: My first JAAS implementation. Part 2

2005-08-08 Thread erikweber
paper, I know I have a copy of it on another box. I > could find it and send it to you . . . . I think I have that code lying > around somewhere too (I hope I haven't lied about what I did . . . ). > > Good luck, > > Erik > > -Original Message- > From: Mark B

Re: My first JAAS implementation. Part 2

2005-08-08 Thread Mick Knutson
another box. I > could find it and send it to you . . . . I think I have that code lying > around somewhere too (I hope I haven't lied about what I did . . . ). > > Good luck, > > Erik > > -Original Message----- > From: Mark Benussi <[EMAIL PROTECTED]>

Re: My first JAAS implementation. Part 2

2005-08-08 Thread erikweber
PROTECTED]> Sent: Aug 8, 2005 6:37 PM To: 'Struts Users Mailing List' Subject: My first JAAS implementation. Part 2 OK. So I got the code working. Great! I can now login using form authentication and call the all important request.isUserInRole and more importantly I now want to d

My first JAAS implementation. Part 2

2005-08-08 Thread Mark Benussi
OK. So I got the code working. Great! I can now login using form authentication and call the all important request.isUserInRole and more importantly I now want to ditch this form authentication. It's not what I need as it doesn't give me enough control over my individual sites. My simple q