|
|
|
@ -3,7 +3,15 @@ package ru.ulstu.user.controller;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
import org.springframework.security.access.annotation.Secured;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import ru.ulstu.configuration.Constants;
|
|
|
|
|
import ru.ulstu.core.model.response.PageableItems;
|
|
|
|
|
import ru.ulstu.core.model.response.Response;
|
|
|
|
@ -11,10 +19,14 @@ import ru.ulstu.odin.controller.OdinController;
|
|
|
|
|
import ru.ulstu.odin.model.OdinMetadata;
|
|
|
|
|
import ru.ulstu.odin.model.OdinVoid;
|
|
|
|
|
import ru.ulstu.odin.service.OdinService;
|
|
|
|
|
import ru.ulstu.user.model.*;
|
|
|
|
|
import ru.ulstu.user.model.UserDto;
|
|
|
|
|
import ru.ulstu.user.model.UserListDto;
|
|
|
|
|
import ru.ulstu.user.model.UserResetPasswordDto;
|
|
|
|
|
import ru.ulstu.user.model.UserRoleConstants;
|
|
|
|
|
import ru.ulstu.user.model.UserRoleDto;
|
|
|
|
|
import ru.ulstu.user.model.UserSessionListDto;
|
|
|
|
|
import ru.ulstu.user.service.UserService;
|
|
|
|
|
import ru.ulstu.user.service.UserSessionService;
|
|
|
|
|
import ru.ulstu.user.model.*;
|
|
|
|
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
|
|
|
|
|
|
|