|
|
|
@ -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.XitHttpRequestHelper;
|
|
|
|
|
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.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
|
@ -29,8 +29,7 @@ public class XitLoginLogAspect {
|
|
|
|
|
@Resource
|
|
|
|
|
private XitFrameCrudService xitFrameCrudService;
|
|
|
|
|
|
|
|
|
|
@Qualifier("xitConectLogIdGnrService")
|
|
|
|
|
private EgovIdGnrService xitConectLogIdGnrService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -62,11 +61,9 @@ public class XitLoginLogAspect {
|
|
|
|
|
* 필수값 설정
|
|
|
|
|
*/
|
|
|
|
|
XitConectLogVO vo = new XitConectLogVO();
|
|
|
|
|
try {
|
|
|
|
|
vo.setLogId(xitConectLogIdGnrService.getNextStringId());
|
|
|
|
|
} catch (FdlException e) {
|
|
|
|
|
throw new RuntimeException(String.format("%s %s", "생성에 실패하였습니다.", e.getMessage()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
vo.setLogId("nextstringid");
|
|
|
|
|
|
|
|
|
|
vo.setConectId(uniqId);
|
|
|
|
|
vo.setConectIp(ip);
|
|
|
|
|
vo.setConectMthd("I"); // 로그인:I, 로그아웃:O
|
|
|
|
@ -105,11 +102,9 @@ public class XitLoginLogAspect {
|
|
|
|
|
* 필수값 설정
|
|
|
|
|
*/
|
|
|
|
|
XitConectLogVO vo = new XitConectLogVO();
|
|
|
|
|
try {
|
|
|
|
|
vo.setLogId(xitConectLogIdGnrService.getNextStringId());
|
|
|
|
|
} catch (FdlException e) {
|
|
|
|
|
throw new RuntimeException(String.format("%s %s", "생성에 실패하였습니다.", e.getMessage()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
vo.setLogId("nextstringid");
|
|
|
|
|
|
|
|
|
|
vo.setConectId(uniqId);
|
|
|
|
|
vo.setConectIp(ip);
|
|
|
|
|
vo.setConectMthd("O"); // 로그인:I, 로그아웃:O
|
|
|
|
|