|
|
@ -7,7 +7,7 @@ import org.springframework.context.support.ReloadableResourceBundleMessageSource
|
|
|
|
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
|
|
|
|
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
|
|
|
|
import cokr.xit.fims.framework.core.utils.XitHttpRequestHelper;
|
|
|
|
import cokr.xit.fims.framework.core.utils.XitHttpRequestHelper;
|
|
|
|
import org.egovframe.rte.fdl.cmmn.exception.FdlException;
|
|
|
|
import org.egovframe.rte.fdl.cmmn.exception.FdlException;
|
|
|
|
import org.egovframe.rte.fdl.idgnr.EgovIdGnrService;
|
|
|
|
|
|
|
|
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
|
|
|
import org.egovframe.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
@ -29,8 +29,7 @@ public class XitLoginLogAspect {
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private XitFrameCrudService xitFrameCrudService;
|
|
|
|
private XitFrameCrudService xitFrameCrudService;
|
|
|
|
|
|
|
|
|
|
|
|
@Qualifier("xitConectLogIdGnrService")
|
|
|
|
|
|
|
|
private EgovIdGnrService xitConectLogIdGnrService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -62,11 +61,9 @@ public class XitLoginLogAspect {
|
|
|
|
* 필수값 설정
|
|
|
|
* 필수값 설정
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
XitConectLogVO vo = new XitConectLogVO();
|
|
|
|
XitConectLogVO vo = new XitConectLogVO();
|
|
|
|
try {
|
|
|
|
|
|
|
|
vo.setLogId(xitConectLogIdGnrService.getNextStringId());
|
|
|
|
vo.setLogId("nextstringid");
|
|
|
|
} catch (FdlException e) {
|
|
|
|
|
|
|
|
throw new RuntimeException(String.format("%s %s", "생성에 실패하였습니다.", e.getMessage()));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
vo.setConectId(uniqId);
|
|
|
|
vo.setConectId(uniqId);
|
|
|
|
vo.setConectIp(ip);
|
|
|
|
vo.setConectIp(ip);
|
|
|
|
vo.setConectMthd("I"); // 로그인:I, 로그아웃:O
|
|
|
|
vo.setConectMthd("I"); // 로그인:I, 로그아웃:O
|
|
|
@ -105,11 +102,9 @@ public class XitLoginLogAspect {
|
|
|
|
* 필수값 설정
|
|
|
|
* 필수값 설정
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
XitConectLogVO vo = new XitConectLogVO();
|
|
|
|
XitConectLogVO vo = new XitConectLogVO();
|
|
|
|
try {
|
|
|
|
|
|
|
|
vo.setLogId(xitConectLogIdGnrService.getNextStringId());
|
|
|
|
vo.setLogId("nextstringid");
|
|
|
|
} catch (FdlException e) {
|
|
|
|
|
|
|
|
throw new RuntimeException(String.format("%s %s", "생성에 실패하였습니다.", e.getMessage()));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
vo.setConectId(uniqId);
|
|
|
|
vo.setConectId(uniqId);
|
|
|
|
vo.setConectIp(ip);
|
|
|
|
vo.setConectIp(ip);
|
|
|
|
vo.setConectMthd("O"); // 로그인:I, 로그아웃:O
|
|
|
|
vo.setConectMthd("O"); // 로그인:I, 로그아웃:O
|
|
|
|