Upgrade to Java 8 source and target baseline

This commit is contained in:
John Blum
2017-04-21 23:19:01 -07:00
parent 887f024551
commit 83e5d6f2a7
3 changed files with 14 additions and 10 deletions

View File

@@ -68,6 +68,10 @@ public class UserRepositoryUserDetailsService implements UserDetailsService {
return AuthorityUtils.createAuthorityList("ROLE_USER");
}
public String getName() {
return getUsername();
}
public String getUsername() {
return getEmail();
}