Update User.java

fixed a typo; replaced "User.witUsername("user")" with "User.withUsername("user")"
This commit is contained in:
Alter Ego 2018-03-22 09:58:12 +01:00 committed by Rob Winch
parent bb15213091
commit 0e37c0912e
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ public class User implements UserDetails, CredentialsContainer {
*
* <pre>
* <code>
* UserDetails user = User.witUsername("user")
* UserDetails user = User.withUsername("user")
* .password("{bcrypt}$2a$10$dXJ3SW6G7P50lGmMkkmwe.20cQQubK3.HZWzG3YB1tlRy.fqvM/BG")
* .roles("USER")
* .build();