parent
d88f2e5133
commit
2477c22674
|
@ -131,7 +131,7 @@ public class DefaultSecurityConfig {
|
||||||
InMemoryUserDetailsManager inMemoryUserDetailsManager() { <2>
|
InMemoryUserDetailsManager inMemoryUserDetailsManager() { <2>
|
||||||
String generatedPassword = // ...;
|
String generatedPassword = // ...;
|
||||||
return new InMemoryUserDetailsManager(User.withUsername("user")
|
return new InMemoryUserDetailsManager(User.withUsername("user")
|
||||||
.password(generatedPassword).roles("ROLE_USER").build());
|
.password(generatedPassword).roles("USER").build());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
|
Loading…
Reference in New Issue