0

Spring security login - Clients.submitForm

asked 2017-06-08 02:32:31 +0800

JustinFrost gravatar image JustinFrost
141 1 6

We are using spring security for authentication. We have a native web form as follows on our zul page:

<n:form id="signinForm" class="signin-native-form" action="springsignin" method="POST">

We then submit this form in out view as follows:

Clients.submitForm("signinForm");

This works MOST of the time, but we have an issue which normally occurs first sign in attempt for the session. When the form is submitted the signin.zul page is displayed again. This can happen 5 or 6 times in a row.

The funny thing is the Spring authentication is SUCCESSFUL but for some reason the redirect fails and the signin.zul is reloaded. If we manually navigate to the home page of the application we are able to access OK.

Cheers.

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-06-08 02:32:31 +0800

Seen: 16 times

Last updated: Jun 08 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More