• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we have multiple login forms in spring security?

 
Kiran Gaddam
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All...

I tried using 2 login forms in spring security. Every thing is fine..
but for mobile login.. when user is providing wrong user_id or password it is redirecting to desktop authentication-failure-url only...

any idea where I am wrong..
or
does spring security supports multiple login-forms..? pelase help.. here is the security file

 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using the error-page attribute of the login-form tag.

Tell us what happens with that.

Mark
 
Kiran Gaddam
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the replay mark,

Bt there is no attribute like error-page, when I click ctrl_space in security:form-login...

What am I missing
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kiran Gaddam wrote:Thanks for the replay mark,

Bt there is no attribute like error-page, when I click ctrl_space in security:form-login...

What am I missing


Maybe that was a tag in a previous version of Spring Security that I remember, it is authentication-failure-url, which is what you are using and that is failing. So I don't know. Good Luck.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic