Spring Security and Struts Validation
Hi,
I'm having some trouble with the flow in my application and was hoping somebody could help me out. Basically I've set up a url-intercept to stop unauthorised users from getting past a certain point in a form wizard (which is validated using struts validation) without logging in. This works as expected.
However, the problem is that the spring security kicks in BEFORE struts validates the form. If the user logs in then they are brought back to the part of the wizard they were at along with the validation error messages. But what I'd like to happen is to see the process reversed - ie. struts validates the form and THEN spring security authorises the user.
Any help on this is much appreciated.
Thanks.