mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
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…
x
Reference in New Issue
Block a user