Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Login Form with PostGreSQL verification

Damir Demirovic
5 years ago Aug 15, 2016 9:59am
Thomas Mattsson
5 years ago Aug 15, 2016 10:13am

That completely depends on how you stored the passwords. You could use something like Shiro for proper authentication, or you could simply do a manual JDBC query.

Damir Demirovic
5 years ago Aug 15, 2016 10:22am
Thomas Mattsson
5 years ago Aug 15, 2016 10:29am

Just as a side note, I really, _really_, recommend using an existing solution like Shiro to manage passwords. Hashing them yourself is just a recipe for disaster (nevermind storing them plainly). If you can use something like OAuth to get rid of passwords completely, even better.