|
@@ -606,7 +606,7 @@ public final class HttpSecurity extends
|
|
* @Override
|
|
* @Override
|
|
* protected void configure(AuthenticationManagerBuilder auth) throws Exception {
|
|
* protected void configure(AuthenticationManagerBuilder auth) throws Exception {
|
|
* auth.inMemoryAuthentication().withUser("user").password("password").roles("USER")
|
|
* auth.inMemoryAuthentication().withUser("user").password("password").roles("USER")
|
|
- * .and().withUser("adminr").password("password").roles("ADMIN", "USER");
|
|
|
|
|
|
+ * .and().withUser("admin").password("password").roles("ADMIN", "USER");
|
|
* }
|
|
* }
|
|
* }
|
|
* }
|
|
* </pre>
|
|
* </pre>
|
|
@@ -629,7 +629,7 @@ public final class HttpSecurity extends
|
|
* @Override
|
|
* @Override
|
|
* protected void configure(AuthenticationManagerBuilder auth) throws Exception {
|
|
* protected void configure(AuthenticationManagerBuilder auth) throws Exception {
|
|
* auth.inMemoryAuthentication().withUser("user").password("password").roles("USER")
|
|
* auth.inMemoryAuthentication().withUser("user").password("password").roles("USER")
|
|
- * .and().withUser("adminr").password("password").roles("ADMIN", "USER");
|
|
|
|
|
|
+ * .and().withUser("admin").password("password").roles("ADMIN", "USER");
|
|
* }
|
|
* }
|
|
* }
|
|
* }
|
|
* </pre>
|
|
* </pre>
|