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
Re: My first JAAS implementation. Part 2 Where does the user get sent to if they are not in the role? Or is it just an ActionError message? [EMAIL PROTECTED] wrote: > Mark, sorry to not be a ton of help here, but I'm away from some code I have > where I know I did this (meaning, I invok

Re: My first JAAS implementation. Part 2

2005-08-08 Thread Mick Knutson
Where does the user get sent to if they are not in the role? Or is it just an ActionError message? [EMAIL PROTECTED] wrote: > Mark, sorry to not be a ton of help here, but I'm away from some code I have > where I know I did this (meaning, I invoked my LoginModule manually instead > of using co

Re: My first JAAS implementation. Part 2

2005-08-08 Thread erikweber
Mark, sorry to not be a ton of help here, but I'm away from some code I have where I know I did this (meaning, I invoked my LoginModule manually instead of using container-based auth). I did this with JBoss, not Tomcat, as I recall. And yes, it does have something to do with writing a CallbackHa