Commit f54fa4dc authored by Javi Corvi's avatar Javi Corvi
Browse files

users for demo

parent ec4987b3
Pipeline #26016 canceled with stage
......@@ -21,5 +21,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Autowired
public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
auth.inMemoryAuthentication().withUser("admin").password("{noop}eTRAN2019!").roles("USER");
for (int i = 1; i < 41; i++) {
auth.inMemoryAuthentication().withUser("user"+i).password("{noop}user"+i+"2021!").roles("USER");
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment