5556575859606162636465
} private User getUser() { Boolean isLoggedIn = userService.isUserLoggedIn(); User user = new User(); if (isLoggedIn) { String googleId = userService.getCurrentUser().getUserId(); user = userDao.findByGoogleId(googleId); if (user == null) {
686970717273747576
} return user; } private User createUser(String googleId) { User user = new User(); user.setGoogleId(googleId); return userDao.put(user); }
272829303132333435
private String nickname; public CurrentUserDto() { isAdmin = false; isLoggedIn = false; user = new User(); loginUrl = ""; logoutUrl = ""; }