userInfo.setUsername(username);
userInfo.setPassword(userStatus.getPassword());
userInfo.setAuthorities(this.getAuthorities(userStatus));
userInfo.setAttributes(Collections.EMPTY_LIST);
UserDetails userDetails = new UserDetailsBuilder(userInfo,
userStatus.getPassword()).build();
return userDetails;
}