Fixed typo in HttpSecurity.authorizeRequests javadoc
This commit is contained in:
parent
df474e04d8
commit
91d9404828
|
@ -606,7 +606,7 @@ public final class HttpSecurity extends
|
|||
* @Override
|
||||
* protected void configure(AuthenticationManagerBuilder auth) throws Exception {
|
||||
* 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>
|
||||
|
@ -629,7 +629,7 @@ public final class HttpSecurity extends
|
|||
* @Override
|
||||
* protected void configure(AuthenticationManagerBuilder auth) throws Exception {
|
||||
* 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>
|
||||
|
|
Loading…
Reference in New Issue