Hi Dave
Thanks for your reply. Sorry, I didn't give enough info there. I am using J2EE, JBoss3.0.6 bundled with
Tomcat. I use FORM authentication to log in, as you may or may not know, when using FORM authentication, your form must submit to 'j_security_check' and the web.xml indicates which loginmodule to use, the underlying
servlet the form submits to is not visible so I dont actually know what way to use the loginModule to login programmatically.
I know that theres something about populating a callback handler within the loginContext before calling the Modules Login function but I am not sure how to go about this.
I tried the following but it just told me the password was incorrect...which it wasn't so its not working but I've no idea why:
If you can point me in the right direction, I'd really appreciate it.
Thanks
B
[ February 18, 2004: Message edited by: Busty Sinclair ]