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 <action roles="role1">
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 question is this. How can I submit a Struts form to a Struts action and then invoke my LoginModule? Is it something to do with writing a CallbackHandler? Your help and time is appreciated.. (Hate saying that but it sums it up nicely).