# Spring security login - Clients.submitForm

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 retag edit
Be the first one to answer this question!
[hide preview]