What is the best way to keep/validate user Login credentials in a web application using MySQL as database and JSP/Servlet as front end.
I have gone through couple of blogs and it says it is not good practice to encrypt MD5 and store user password it might have collision attack. How we can implement a robust and secure login for end use.