I have a java application with GWT frontend, that do some stuff.
Now I want to implement users and their registrations, things like "forgot password", logging in and out.
My problem is - it is a thing, that almost everyone does at their application, but there are many things to do wrong (hashing passwords, somebody faking "forgot password", and so on), so there has to be some general solution or library.
And what I mean by that is both some GUI widget on client side and something for the server side, that would handle the user logins and save their passwords.
Does something like that exist?