-
Sep 2nd, 2009, 06:08 PM
#1
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.
-
Sep 6th, 2009, 02:15 PM
#2
Hi,
I think it is probably lifecycle problem when you are using struts with spring security check for logging messages in server .
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules