egovframework.rfc3.login.dao
Class LoginDAO

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.ibatis.support.SqlMapClientDaoSupport
          extended by egovframework.rte.psl.dataaccess.EgovAbstractDAO
              extended by egovframework.rfc3.common.dao.RfcIAMAbstractDAO
                  extended by egovframework.rfc3.login.dao.LoginDAO
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Repository(value="RFCLoginDAO")
public class LoginDAO
extends RfcIAMAbstractDAO

일반 로그인, 인증서 로그인을 처리하는 DAO 클래스

Since:
2010.12.06
Version:
egovframework RFC 3.0
Author:
허성철
See Also:
 << 개정이력(Modification Information) >>
 
   수정일      수정자          수정내용
  -------    --------    ---------------------------
   2010.12.06  허성철 egovframe 수정작업 
  
  Copyright (C) 2010 by skoinfo  All right reserved.
  

Constructor Summary
LoginDAO()
           
 
Method Summary
 LoginVO actionCrtfctLogin(LoginVO vo)
          인증서 로그인을 처리한다
 LoginVO actionLogin(LoginVO vo)
          일반 로그인을 처리한다
 int actionLoginEmailCount(LoginVO vo)
           
 void changePassword(LoginVO vo)
           
 void changePasswordDate(LoginVO vo)
           
 void deleteSSoUser(java.lang.String ssokey)
          자동 로그인 정보 삭제
 java.lang.String getEchelonDecoder(java.lang.String str)
          getEchelonDecoder
 java.lang.String getEchelonDigestPassEncoder(java.lang.String str)
          getEchelonDigestPassEncoder
 java.lang.String getEchelonEncoder(java.lang.String str)
          getEchelonDecoder
 java.lang.String getKsignDecoder(java.util.HashMap map)
          ksign Decoder
 java.lang.String getKsignEncoder(java.util.HashMap map)
          ksign Encoder
 SsoVO getLoginSSoInfo(java.lang.String ssokey)
          자동 로그인 정보
 java.util.List<java.lang.String> getLoginUserAuthor(java.lang.String id)
          로그인 권한 정보
 LoginVO getLoginUserInfo(java.lang.String id)
          로그인 정보 전체
 LoginVO getLoginUserInfoTotSome(java.lang.String id)
           
 LoginVO getLoginUserInfoTotSomeUniqId(java.lang.String uniqId)
           
 LoginVO getUserInfoForRealAuthKey(LoginVO vo)
          식별번호로 회원정보 가져오기
 void insertLoginHistory(LoginHistoryVO loginHistoryVO)
          로그인 히스토리를 저장한다.
 int loginSiteGroupCnt(LoginHistoryVO loginHistoryVO)
          사이트별 로그인 통계
 LoginVO searchId(LoginVO vo)
          아이디를 찾는다.
 java.util.List<LoginVO> searchIdList(LoginVO vo)
           
 LoginVO searchPassword(LoginVO vo)
          비밀번호를 찾는다.
 LoginVO searchPasswordToEmail(LoginVO vo)
           
 java.util.Date selectLoginLastSign(LoginHistoryVO loginHistoryVO)
           
 java.util.List<SsoVO> selectLoginSSoInfoList(SsoVO ssoVO)
          현재 로그인 정보
 int selectLoginTot(LoginHistoryVO loginHistoryVO)
          특정시간 로그인 실패 횟수 카운팅
 void updateIhidNum(LoginVO vo)
          본인 확인 코드 수정
 void updateLoginFirstEvent(LoginVO vo)
          최초 로그인 이벤트
 void updateLoginHistory(LoginHistoryVO loginHistoryVO)
          로그인 loginStatus 수정 업데이트
 void updatePassword(LoginVO vo)
          변경된 비밀번호를 저장한다.
 int userRegCnt(LoginHistoryVO loginHistoryVO)
          사이트별 회원가입 통계
 
Methods inherited from class egovframework.rfc3.common.dao.RfcIAMAbstractDAO
delete, insert, list, listWithPaging, selectByPk, setSuperSqlMapClient, update
 
Methods inherited from class org.springframework.orm.ibatis.support.SqlMapClientDaoSupport
getDataSource, getSqlMapClient, getSqlMapClientTemplate, setDataSource, setSqlMapClient, setSqlMapClientTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginDAO

public LoginDAO()
Method Detail

actionLogin

public LoginVO actionLogin(LoginVO vo)
                    throws java.lang.Exception
일반 로그인을 처리한다

Parameters:
vo - LoginVO
Returns:
LoginVO
Throws:
java.lang.Exception

actionLoginEmailCount

public int actionLoginEmailCount(LoginVO vo)

getUserInfoForRealAuthKey

public LoginVO getUserInfoForRealAuthKey(LoginVO vo)
                                  throws java.lang.Exception
식별번호로 회원정보 가져오기

Parameters:
ihidNum -
Returns:
Throws:
java.lang.Exception

actionCrtfctLogin

public LoginVO actionCrtfctLogin(LoginVO vo)
                          throws java.lang.Exception
인증서 로그인을 처리한다

Parameters:
vo - LoginVO
Returns:
LoginVO
Throws:
java.lang.Exception

searchId

public LoginVO searchId(LoginVO vo)
                 throws java.lang.Exception
아이디를 찾는다.

Parameters:
vo - LoginVO
Returns:
LoginVO
Throws:
java.lang.Exception

searchIdList

public java.util.List<LoginVO> searchIdList(LoginVO vo)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

searchPassword

public LoginVO searchPassword(LoginVO vo)
                       throws java.lang.Exception
비밀번호를 찾는다.

Parameters:
vo - LoginVO
Returns:
LoginVO
Throws:
java.lang.Exception

searchPasswordToEmail

public LoginVO searchPasswordToEmail(LoginVO vo)
                              throws java.lang.Exception
Throws:
java.lang.Exception

updatePassword

public void updatePassword(LoginVO vo)
                    throws java.lang.Exception
변경된 비밀번호를 저장한다.

Parameters:
vo - LoginVO
Throws:
java.lang.Exception

changePassword

public void changePassword(LoginVO vo)
                    throws java.lang.Exception
Throws:
java.lang.Exception

changePasswordDate

public void changePasswordDate(LoginVO vo)
                        throws java.lang.Exception
Throws:
java.lang.Exception

updateLoginFirstEvent

public void updateLoginFirstEvent(LoginVO vo)
                           throws java.lang.Exception
최초 로그인 이벤트

Throws:
java.lang.Exception

updateIhidNum

public void updateIhidNum(LoginVO vo)
                   throws java.lang.Exception
본인 확인 코드 수정

Parameters:
vo -
Throws:
java.lang.Exception

insertLoginHistory

public void insertLoginHistory(LoginHistoryVO loginHistoryVO)
                        throws java.lang.Exception
로그인 히스토리를 저장한다.

Parameters:
loginHistoryVO -
Throws:
java.lang.Exception

loginSiteGroupCnt

public int loginSiteGroupCnt(LoginHistoryVO loginHistoryVO)
                      throws java.lang.Exception
사이트별 로그인 통계

Parameters:
loginHistoryVO -
Returns:
Throws:
java.lang.Exception

userRegCnt

public int userRegCnt(LoginHistoryVO loginHistoryVO)
               throws java.lang.Exception
사이트별 회원가입 통계

Parameters:
loginHistoryVO -
Returns:
Throws:
java.lang.Exception

getLoginUserInfo

public LoginVO getLoginUserInfo(java.lang.String id)
                         throws java.lang.Exception
로그인 정보 전체

Parameters:
id -
Returns:
Throws:
java.lang.Exception

getLoginUserInfoTotSome

public LoginVO getLoginUserInfoTotSome(java.lang.String id)
                                throws java.lang.Exception
Throws:
java.lang.Exception

getLoginUserInfoTotSomeUniqId

public LoginVO getLoginUserInfoTotSomeUniqId(java.lang.String uniqId)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getLoginUserAuthor

public java.util.List<java.lang.String> getLoginUserAuthor(java.lang.String id)
                                                    throws java.lang.Exception
로그인 권한 정보

Parameters:
id -
Returns:
Throws:
java.lang.Exception

getLoginSSoInfo

public SsoVO getLoginSSoInfo(java.lang.String ssokey)
                      throws java.lang.Exception
자동 로그인 정보

Parameters:
ssokey -
Returns:
Throws:
java.lang.Exception

deleteSSoUser

public void deleteSSoUser(java.lang.String ssokey)
                   throws java.lang.Exception
자동 로그인 정보 삭제

Parameters:
ssokey -
Throws:
java.lang.Exception

updateLoginHistory

public void updateLoginHistory(LoginHistoryVO loginHistoryVO)
                        throws java.lang.Exception
로그인 loginStatus 수정 업데이트

Throws:
java.lang.Exception

selectLoginTot

public int selectLoginTot(LoginHistoryVO loginHistoryVO)
                   throws java.lang.Exception
특정시간 로그인 실패 횟수 카운팅

Parameters:
loginHistoryVO -
Returns:
Throws:
java.lang.Exception

getEchelonDigestPassEncoder

public java.lang.String getEchelonDigestPassEncoder(java.lang.String str)
                                             throws java.lang.Exception
getEchelonDigestPassEncoder

Parameters:
str -
Returns:
Throws:
java.lang.Exception

getEchelonEncoder

public java.lang.String getEchelonEncoder(java.lang.String str)
                                   throws java.lang.Exception
getEchelonDecoder

Parameters:
str -
Returns:
Throws:
java.lang.Exception

getEchelonDecoder

public java.lang.String getEchelonDecoder(java.lang.String str)
                                   throws java.lang.Exception
getEchelonDecoder

Parameters:
str -
Returns:
Throws:
java.lang.Exception

selectLoginLastSign

public java.util.Date selectLoginLastSign(LoginHistoryVO loginHistoryVO)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getKsignEncoder

public java.lang.String getKsignEncoder(java.util.HashMap map)
                                 throws java.lang.Exception
ksign Encoder

Throws:
java.lang.Exception

getKsignDecoder

public java.lang.String getKsignDecoder(java.util.HashMap map)
                                 throws java.lang.Exception
ksign Decoder

Throws:
java.lang.Exception

selectLoginSSoInfoList

public java.util.List<SsoVO> selectLoginSSoInfoList(SsoVO ssoVO)
                                             throws java.lang.Exception
현재 로그인 정보

Parameters:
ssoVO -
Returns:
Throws:
java.lang.Exception