From 5b118cddf26a07ffd80bde82f1f44ae5ee26caaf Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Mon, 30 Dec 2024 14:05:20 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20swagger=20doc=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../let/uat/uia/web/EgovLoginController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/egovframework/let/uat/uia/web/EgovLoginController.java b/src/main/java/egovframework/let/uat/uia/web/EgovLoginController.java index 5a9200d..f35cea7 100644 --- a/src/main/java/egovframework/let/uat/uia/web/EgovLoginController.java +++ b/src/main/java/egovframework/let/uat/uia/web/EgovLoginController.java @@ -161,7 +161,7 @@ public class EgovLoginController { description = "로그인 처리", tags = {"EgovLoginController"} ) - @RequestMapping(value = "/uat/uia/actionLogin.do", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE) + @RequestMapping(value = "/uat/uia/actionLogin.do", method = {RequestMethod.POST}, consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE) public String actionLogin(@ModelAttribute("loginVO") LoginVO loginVO, HttpServletRequest request, ModelMap model) throws Exception { // 1. 로그인인증제한 활성화시 @@ -314,7 +314,7 @@ public class EgovLoginController { description = "메인 페잊 처리", tags = {"EgovLoginController"} ) - @RequestMapping(value = "/uat/uia/actionMain.do") + @RequestMapping(value = "/uat/uia/actionMain.do", method = { RequestMethod.GET}) public String actionMain(HttpServletRequest request,ModelMap model) throws Exception { // 1. Spring Security 사용자권한 처리 @@ -624,7 +624,7 @@ public class EgovLoginController { description = "세션 타임 아웃 시간 연장", tags = {"EgovLoginController"} ) - @RequestMapping(value="/uat/uia/refreshSessionTimeout.do") + @PostMapping(value="/uat/uia/refreshSessionTimeout.do") public ModelAndView refreshSessionTimeout(@RequestParam Map commandMap) throws Exception { ModelAndView modelAndView = new ModelAndView(); modelAndView.setViewName(XitConstants.DEFAULT_VIEW); @@ -645,7 +645,7 @@ public class EgovLoginController { description = "비밀번호 유효기간 팝업", tags = {"EgovLoginController"} ) - @RequestMapping(value="/uat/uia/noticeExpirePwd.do") + @GetMapping(value="/uat/uia/noticeExpirePwd.do") public String noticeExpirePwd(@RequestParam Map commandMap, ModelMap model) throws Exception { // 설정된 비밀번호 유효기간을 가져온다. ex) 180이면 비밀번호 변경후 만료일이 앞으로 180일