Open whenafirestartstoburn opened 4 years ago
https://github.com/ekbhard/Java-Spring/blob/master/src/main/java/com/sb/JavaWithSpring/config/WebSecurityConfig.java
Открываем документацию https://docs.spring.io/spring-security/site/docs/4.2.13.RELEASE/apidocs/org/springframework/security/crypto/password/NoOpPasswordEncoder.html, читаем -
Deprecated. This PasswordEncoder is not secure.
и ниже:
This PasswordEncoder is provided for legacy and testing purposes only and is not considered secure.
Делаем вывод - нужно использовать другой PasswordEncoder, напр. БКрипт.
.iml/.idea и пр. - это все надо игнорировать, конечно, в git-е не должно быть
https://github.com/ekbhard/Java-Spring/blob/master/src/main/java/com/sb/JavaWithSpring/config/WebSecurityConfig.java
Открываем документацию https://docs.spring.io/spring-security/site/docs/4.2.13.RELEASE/apidocs/org/springframework/security/crypto/password/NoOpPasswordEncoder.html, читаем -
Deprecated. This PasswordEncoder is not secure.
и ниже:
This PasswordEncoder is provided for legacy and testing purposes only and is not considered secure.
Делаем вывод - нужно использовать другой PasswordEncoder, напр. БКрипт.