|
@@ -113,7 +113,7 @@ public abstract class WebSecurityConfigurerAdapter implements SecurityConfigurer
|
|
* <pre>
|
|
* <pre>
|
|
* @Override
|
|
* @Override
|
|
* protected void registerAuthentication(AuthenticationManagerBuilder auth) {
|
|
* protected void registerAuthentication(AuthenticationManagerBuilder auth) {
|
|
- * registry
|
|
|
|
|
|
+ * auth
|
|
* // enable in memory based authentication with a user named "user" and "admin"
|
|
* // enable in memory based authentication with a user named "user" and "admin"
|
|
* .inMemoryAuthentication()
|
|
* .inMemoryAuthentication()
|
|
* .withUser("user").password("password").roles("USER").and()
|
|
* .withUser("user").password("password").roles("USER").and()
|