We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6e378e commit f61a8deCopy full SHA for f61a8de
docs/modules/ROOT/pages/servlet/authentication/passwords/index.adoc
@@ -34,6 +34,8 @@ public class SecurityConfig {
34
35
@Bean
36
public UserDetailsService userDetailsService() {
37
+ // User.withDefaultPasswordEncoder() is considered unsafe for production
38
+ // and is only intended for sample applications.
39
UserDetails userDetails = User.withDefaultPasswordEncoder()
40
.username("user")
41
.password("password")
0 commit comments