Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public interface UserDetailsPasswordService
Known subtypesInMemoryUserDetailsManager, JdbcUserDetailsManager
Stores a password re-encoded on sign-in, for a user store that wants old
hashes replaced as their owners come back.
Methods
public abstract UserDetails updatePassword(UserDetails user, String newPassword) | Stores newPassword, which is already encoded, as user’s password, and returns the user as it now is. |
Method details
updatePassword
public abstract UserDetails updatePassword(UserDetails user, String newPassword)Stores
newPassword, which is already encoded, as user’s password, and
returns the user as it now is.