Announcement Announcement Module
Collapse
No announcement yet.
Spring Security and Struts Validation Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    Hi,

    I think it is probably lifecycle problem when you are using struts with spring security check for logging messages in server .

    Comment

    Working...
    X