56575859606162
groups.add(GroupId.get(group.getName())); } userDetails = UserDetails.getUserDetails(userId, userId.getUserName(), Optional.fromNullable(user.getEmail())); } return new GetCurrentUserInSessionResult(userDetails, groups); }