Re: Insert user detail in custom table
Posted: Fri Jul 05, 2013 7:01 pm
I don't fully understand your question. The OOB Broadleaf implementation stores a password in the BLC_CUSTOMER table already.
You can determine how the password will be hashed by setting the "password.site.encoder" property. In development mode, this is set to a PlaintextPasswordEncoder.
In "production.properties", the OOB implementation sets this to the following:
You could override your production.properties (or common.properties) to use "MD5PasswordEncoder" instead.
You can determine how the password will be hashed by setting the "password.site.encoder" property. In development mode, this is set to a PlaintextPasswordEncoder.
In "production.properties", the OOB implementation sets this to the following:
Code: Select all
password.site.encoder=org.springframework.security.authentication.encoding.ShaPasswordEncoder
You could override your production.properties (or common.properties) to use "MD5PasswordEncoder" instead.