SpringSecurityLoginTutorial icon indicating copy to clipboard operation
SpringSecurityLoginTutorial copied to clipboard

The password can not be stored in the database

Open wzslw opened this issue 7 years ago • 2 comments

I think we should remove the @Transient annotation in User.java file

wzslw avatar Apr 22 '17 10:04 wzslw

also getting this issue java.sql.SQLException: Field 'password' doesn't have a default value if you let the tables be auto generated, then the password column does not get created

kalgecin avatar May 09 '17 06:05 kalgecin

removing @Transient fixes the problem and password is stored encrypted in the database

kalgecin avatar May 09 '17 07:05 kalgecin