fix : 유저 관련 수정

main
이범준 1 year ago
parent ed50322a76
commit 50f17a45db

@ -44,7 +44,8 @@ public class XitSessionMapping extends EgovUsersByUsernameMapping {
* Map Row
* -"인증에 사용되는 사용자정보 조회 질의문"
*/
String strUserId = rs.getString("user_id");
String strUniqId = rs.getString("user_id");
String strUserAcnt = rs.getString("user_acnt");
String strPassWd = rs.getString("passwd");
boolean strEnabled = rs.getBoolean("enabled");
String strUserNm = rs.getString("user_nm");
@ -54,7 +55,6 @@ public class XitSessionMapping extends EgovUsersByUsernameMapping {
String strGrpId = rs.getString("grp_id");
String strNsttCd = rs.getString("nstt_cd");
String strOrgnztNm = rs.getString("orgnzt_nm");
String strUniqId = rs.getString("user_key");
String strJobDataAuthor = rs.getString("job_data_author");
String strUserManageAuthor = rs.getString("user_manage_author");
String strElctrnsanctnUseYn = rs.getString("elctrnsanctn_use_yn");
@ -66,14 +66,14 @@ public class XitSessionMapping extends EgovUsersByUsernameMapping {
* Session
*/
XitLoginVO loginVO = new XitLoginVO();
loginVO.setId(strUserId); //아이디
loginVO.setUniqId(strUniqId); //고유아이디
loginVO.setId(strUserAcnt); //계정아이디
loginVO.setPasswd(strPassWd); //비밀번호
loginVO.setName(strUserNm); //이름
loginVO.setUserSe(strUserSe); //사용자구분
loginVO.setEmail(strUserEmail); //이메일주소
loginVO.setOrgId(strOrgId); //조직(부서)ID - (시스템코드-sysSeCd)
loginVO.setOrgnztNm(strOrgnztNm); //조직(부서)ID 명
loginVO.setUniqId(strUniqId); //고유아이디
loginVO.setGrpId(strGrpId); //그룹
loginVO.setNsttCd(strNsttCd); //소속기관-업무그룹(sgg_cd)
loginVO.setJobDataAuthor(strJobDataAuthor); //업무 데이터 권한
@ -81,6 +81,6 @@ public class XitSessionMapping extends EgovUsersByUsernameMapping {
loginVO.setElctrnsanctnUseYn(strElctrnsanctnUseYn); //전자결재 사용 여부
loginVO.setJobConfmAuthorYn(strJobConfmAuthorYn); //업무 승인 권한 여부
return new EgovUserDetails(strUserId, strPassWd, strEnabled, loginVO);
return new EgovUserDetails(strUserAcnt, strPassWd, strEnabled, loginVO);
}
}

Loading…
Cancel
Save