Mar 5th, 2010, 04:59 AM
spring security : multiple login form
I need some help in spring security in my project.
I require two different login pages. One page has three fields user name, password and pin and another page has 2 fields email Id and password. Both pages will go to 2 different tables for authentication and If there is any error return to respective pages ?
In security .xml, Can I define two different form login to accommodate these login pages?
On internet it suggests two form login are not allowed in security. We can do this by authentication filter. How can I do that? Could anyone provide me sample code?
Thanks & Regards