Spring Boot Security - Password Encoding Using BCrypt

preview_player
Показать описание
Encrypt the Password to be stored in DB using BCrypt
Рекомендации по теме
Комментарии
Автор

In this case, we have 2 PasswordEncoder objects in Spring Context. One from the @Bean annotation and second from the passwordEncoder() call in the body of the configAuthentication method. You missed the problem because PasswordEncoder, from the @Bean annotation, is not used at all. In my opinion, the configAuthentication method should look like this:

@Autowired
public void auth, PasswordEncoder passwordEncoder) throws Exception {

}

KrzysztofBlaszke
Автор

Your Video is wonderful. I wish i had a five star

abubakargurnah
Автор

How can I use it with hibernate to store encrypted password in mysql db directly and use it later for authentication. Pls help. Its imp!!

kshitizbathwal
Автор

Spring security config where we specifying that from which table needs to fetch user details? or it is pre-config to use users' tables?

rohanpalaria
Автор

Hi bro, Is it possible to get the encrypted password into decrypted format that should be stored in other table, For example: The user enters the username and password that will be stored(password encrytped) in a table called employee, this is done by spring boot (spring security), now i want to access the table employee from other application(spring mvc using maven), while accessing the password is it possible to decrypt(decode) the encrypted password?

nareshreddy
Автор

Hello Bro, Could you add english subtitle your videos?

mfkarae