egovframework.rfc3.login.web
Class RFCLoginController

java.lang.Object
  extended by egovframework.rfc3.login.web.RFCLoginController
All Implemented Interfaces:
org.springframework.context.ApplicationEventPublisherAware

@Controller
@SessionAttributes(types=SessionVO.class)
public class RFCLoginController
extends java.lang.Object
implements org.springframework.context.ApplicationEventPublisherAware

일반 로그인, 인증서 로그인을 처리하는 컨트롤러 클래스

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

Constructor Summary
RFCLoginController()
           
 
Method Summary
 java.lang.String accessDenied(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          spring security 접근거부
 java.lang.String actionCrtfctLogin(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          인증서 로그인을 처리한다[사용자,관리자]
 java.lang.String actionLogin(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          관리자 로그인을 처리한다
 java.lang.String actionLogout(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model, org.springframework.web.bind.support.SessionStatus status)
          로그아웃한다.
 java.lang.String actionMain(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          로그인 후 메인화면으로 들어간다 - 프레임 세트 페이지
 java.lang.String adminAccessFailure(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          관리자 페이지 접근제한 페이지
 java.lang.String crtfcProc()
           
 java.lang.String eaLoginAction(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          전자 결재 로그인
 java.lang.String getLocalServerIp()
           
 java.util.HashMap jdcIamPassWord(LoginVO resultVO, LoginVO loginVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          JDC-IAM연동
 java.lang.String loginError(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          로그인 에러,세션에러,세션만료 처리
 java.lang.String loginUsrView(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          로그인 화면으로 들어간다
 java.lang.String mainBottomPage(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          관리자 bottom page -카피라이트 내용
 java.lang.String mainCenterPage(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          관리자 메인 중앙 page - 통계 내용
 java.lang.String mainLeftPage(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          관리자 왼쪽 page - 메뉴목록
 java.lang.String mainLoginInitPage(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          관리자 로그인 페이지 이동
 java.lang.String mainRole(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          권한 인쿠르드 목록
 java.lang.String nILoginAction(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          새올행정시스템 SSO_PASSNI
 java.lang.String qrcodeLoginAction(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          QRcode 로그인을 처리한다
 void realAuth(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          실명인증 처리 액션
 java.lang.String roleTagDefault(int depth, java.lang.String path, java.lang.String roleId, java.lang.String roleNm, java.lang.String sroleId)
          role option 태그 만들기
 java.lang.String sampleList(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          샘플 페이지 목록 접근 테스트
 java.lang.String sampleWrite(org.springframework.ui.ModelMap model, javax.servlet.http.HttpServletRequest request)
          샘플 페이지 입력 접근 테스트
 void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher eventPublisher)
           
 java.lang.String sirenUserLoginAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          서울 신용평가 실명인증 로그인
 boolean urlCheckConnection(java.lang.String uId, java.lang.String uPw)
           
 java.lang.String userChangePassword(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
           
 java.lang.String userChangePasswordAct(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
           
 java.lang.String userChangePasswordAct2(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          유저페이지 패스워드 변경처리
 java.lang.String userChangePasswordLater(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
           
 java.lang.String userChangePasswordLater2(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          유저페이지 패스워드 다음에 변경하기
 java.lang.String userLoginAction(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          일반 로그인을 처리한다
 java.lang.String userPwChangeAct(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          사용자 PW변경 2.0 => 3.0 사용자 동기화 사용 박 형 민
 java.lang.String userPwChangeAct2(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          유저페이지 패스워드 변경처리
 java.lang.String withdrawAct(LoginVO loginVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          회원 탈퇴 하기
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFCLoginController

public RFCLoginController()
Method Detail

loginUsrView

@RequestMapping(value={"/iam/login/login.sko","/iam/rfc/rfccms.sko","/jejumng/index.php"})
public java.lang.String loginUsrView(@ModelAttribute(value="loginVO")
                                                    LoginVO loginVO,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response,
                                                    org.springframework.ui.ModelMap model)
                              throws java.lang.Exception
로그인 화면으로 들어간다

Parameters:
vo - - 로그인후 이동할 URL이 담긴 LoginVO
Returns:
로그인 페이지
Throws:
java.lang.Exception

actionLogin

@RequestMapping(value={"/iam/login/actionLogin.sko","/iam/rfc/actionManager.sko"})
public java.lang.String actionLogin(@ModelAttribute(value="loginVO")
                                                   LoginVO loginVO,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response,
                                                   org.springframework.ui.ModelMap model)
                             throws java.lang.Exception
관리자 로그인을 처리한다

Parameters:
vo - - 아이디, 비밀번호가 담긴 LoginVO
request - - 세션처리를 위한 HttpServletRequest
Returns:
result - 로그인결과(세션정보)
Throws:
java.lang.Exception

userChangePassword

@RequestMapping(value={"/iam/login/changePassword.sko","/iam/rfc/changePassword.sko"})
public java.lang.String userChangePassword(@ModelAttribute(value="loginVO")
                                                          LoginVO loginVO,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          org.springframework.ui.ModelMap model)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

userChangePasswordAct

@RequestMapping(value={"/iam/login/changePasswordAct.sko","/iam/rfc/changePasswordAct.sko"})
public java.lang.String userChangePasswordAct(@ModelAttribute(value="loginVO")
                                                             LoginVO loginVO,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             org.springframework.ui.ModelMap model)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

userChangePasswordAct2

@RequestMapping(value="/user/login/changePasswordAct.*")
public java.lang.String userChangePasswordAct2(@ModelAttribute(value="loginVO")
                                                              LoginVO loginVO,
                                                              javax.servlet.http.HttpServletRequest request,
                                                              org.springframework.ui.ModelMap model)
                                        throws java.lang.Exception
유저페이지 패스워드 변경처리

Parameters:
loginVO -
request -
model -
Returns:
Throws:
java.lang.Exception

userChangePasswordLater

@RequestMapping(value="/iam/login/changePasswordLater.sko")
public java.lang.String userChangePasswordLater(@ModelAttribute(value="loginVO")
                                                               LoginVO loginVO,
                                                               javax.servlet.http.HttpServletRequest request,
                                                               org.springframework.ui.ModelMap model)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

userChangePasswordLater2

@RequestMapping(value="/user/login/changePasswordLater.*")
public java.lang.String userChangePasswordLater2(@ModelAttribute(value="loginVO")
                                                                LoginVO loginVO,
                                                                javax.servlet.http.HttpServletRequest request,
                                                                org.springframework.ui.ModelMap model)
                                          throws java.lang.Exception
유저페이지 패스워드 다음에 변경하기

Parameters:
loginVO -
request -
model -
Returns:
Throws:
java.lang.Exception

jdcIamPassWord

public java.util.HashMap jdcIamPassWord(LoginVO resultVO,
                                        LoginVO loginVO,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        org.springframework.ui.ModelMap model)
                                 throws java.lang.Exception
JDC-IAM연동

Throws:
java.lang.Exception

userLoginAction

@RequestMapping(value="/user/loginProc.*")
public java.lang.String userLoginAction(@ModelAttribute(value="loginVO")
                                                       LoginVO loginVO,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       javax.servlet.http.HttpServletResponse response,
                                                       org.springframework.ui.ModelMap model)
                                 throws java.lang.Exception
일반 로그인을 처리한다

Parameters:
vo - - 아이디, 비밀번호가 담긴 LoginVO
request - - 세션처리를 위한 HttpServletRequest
Returns:
result - 로그인결과(세션정보)
Throws:
java.lang.Exception

qrcodeLoginAction

@RequestMapping(value="/qrcode/loginProc.*")
public java.lang.String qrcodeLoginAction(@ModelAttribute(value="loginVO")
                                                         LoginVO loginVO,
                                                         javax.servlet.http.HttpServletRequest request,
                                                         org.springframework.ui.ModelMap model)
                                   throws java.lang.Exception
QRcode 로그인을 처리한다

Parameters:
vo - - 아이디, 비밀번호가 담긴 LoginVO
request - - 세션처리를 위한 HttpServletRequest
Returns:
result - 로그인결과(세션정보)
Throws:
java.lang.Exception

crtfcProc

@RequestMapping(value={"/user/crtfc_proc.*","/iam/login/crtfc_proc.sko","/iam/rfc/crtfc_proc.sko"})
public java.lang.String crtfcProc()
                           throws java.lang.Exception
Throws:
java.lang.Exception

actionCrtfctLogin

@RequestMapping(value={"/user/actionCrtfctLogin.*","/iam/login/actionCrtfctLogin.sko","/iam/rfc/actionCrtfctLogin.sko"})
public java.lang.String actionCrtfctLogin(@ModelAttribute(value="loginVO")
                                                         LoginVO loginVO,
                                                         javax.servlet.http.HttpServletRequest request,
                                                         javax.servlet.http.HttpServletResponse response,
                                                         org.springframework.ui.ModelMap model)
                                   throws java.lang.Exception
인증서 로그인을 처리한다[사용자,관리자]

Parameters:
vo - - dn 정보가 포함된 정보
Returns:
result - 로그인결과(세션정보)
Throws:
java.lang.Exception

sirenUserLoginAction

@RequestMapping(value="/user/sirenLoginProc.*")
public java.lang.String sirenUserLoginAction(javax.servlet.http.HttpServletRequest request,
                                                            javax.servlet.http.HttpServletResponse response,
                                                            org.springframework.ui.ModelMap model)
                                      throws java.lang.Exception
서울 신용평가 실명인증 로그인

Parameters:
request -
response -
model -
Returns:
Throws:
java.lang.Exception

actionMain

@RequestMapping(value="/iam/main/index.sko")
public java.lang.String actionMain(org.springframework.ui.ModelMap model,
                                                  javax.servlet.http.HttpServletRequest request)
                            throws java.lang.Exception
로그인 후 메인화면으로 들어간다 - 프레임 세트 페이지

Parameters:
-
Returns:
로그인 페이지
Throws:
java.lang.Exception

mainLeftPage

@RequestMapping(value="/iam/main/left.sko")
public java.lang.String mainLeftPage(org.springframework.ui.ModelMap model,
                                                    javax.servlet.http.HttpServletRequest request)
                              throws java.lang.Exception
관리자 왼쪽 page - 메뉴목록

Returns:
String
Throws:
java.lang.Exception

mainCenterPage

@RequestMapping(value="/iam/main/main.sko")
public java.lang.String mainCenterPage(org.springframework.ui.ModelMap model,
                                                      javax.servlet.http.HttpServletRequest request)
                                throws java.lang.Exception
관리자 메인 중앙 page - 통계 내용

Returns:
String
Throws:
java.lang.Exception

mainBottomPage

@RequestMapping(value="/iam/main/bottom.sko")
public java.lang.String mainBottomPage(org.springframework.ui.ModelMap model,
                                                      javax.servlet.http.HttpServletRequest request)
                                throws java.lang.Exception
관리자 bottom page -카피라이트 내용

Returns:
String
Throws:
java.lang.Exception

mainRole

@RequestMapping(value={"/iam/main/role.sko","/iam/main/roleChange.sko"})
public java.lang.String mainRole(org.springframework.ui.ModelMap model,
                                                javax.servlet.http.HttpServletRequest request)
                          throws java.lang.Exception
권한 인쿠르드 목록

Parameters:
model -
request -
Returns:
Throws:
java.lang.Exception

roleTagDefault

public java.lang.String roleTagDefault(int depth,
                                       java.lang.String path,
                                       java.lang.String roleId,
                                       java.lang.String roleNm,
                                       java.lang.String sroleId)
role option 태그 만들기

Parameters:
depth -
path -
roleId -
roleNm -
sroleId -
Returns:

actionLogout

@RequestMapping(value={"/iam/login/actionLogout.sko","/iam/rfc/actionOut.sko"})
public java.lang.String actionLogout(@ModelAttribute(value="loginVO")
                                                    LoginVO loginVO,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    org.springframework.ui.ModelMap model,
                                                    org.springframework.web.bind.support.SessionStatus status)
                              throws java.lang.Exception
로그아웃한다.

Returns:
String
Throws:
java.lang.Exception

withdrawAct

@RequestMapping(value="/user/withdrawAct.*")
public java.lang.String withdrawAct(@ModelAttribute(value="loginVO")
                                                   LoginVO loginVO,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   org.springframework.ui.ModelMap model)
                             throws java.lang.Exception
회원 탈퇴 하기

Parameters:
loginVO -
request -
model -
Returns:
Throws:
java.lang.Exception

mainLoginInitPage

@RequestMapping(value={"/iam/login/login_init.sko","/iam/rfc/init.sko"})
public java.lang.String mainLoginInitPage(org.springframework.ui.ModelMap model,
                                                         javax.servlet.http.HttpServletRequest request)
                                   throws java.lang.Exception
관리자 로그인 페이지 이동

Returns:
String
Throws:
java.lang.Exception

adminAccessFailure

@RequestMapping(value="/iam/cmm/adminAccessFailure.sko")
public java.lang.String adminAccessFailure(org.springframework.ui.ModelMap model,
                                                          javax.servlet.http.HttpServletRequest request)
                                    throws java.lang.Exception
관리자 페이지 접근제한 페이지

Parameters:
model -
request -
Returns:
Throws:
java.lang.Exception

accessDenied

@RequestMapping(value="/iam/cmm/accessDenied.sko")
public java.lang.String accessDenied(org.springframework.ui.ModelMap model,
                                                    javax.servlet.http.HttpServletRequest request)
                              throws java.lang.Exception
spring security 접근거부

Parameters:
model -
request -
Returns:
Throws:
java.lang.Exception

loginError

@RequestMapping(value="/iam/cmm/loginError.sko")
public java.lang.String loginError(org.springframework.ui.ModelMap model,
                                                  javax.servlet.http.HttpServletRequest request)
                            throws java.lang.Exception
로그인 에러,세션에러,세션만료 처리

Parameters:
model -
request -
Returns:
Throws:
java.lang.Exception

realAuth

@RequestMapping(value="/iam/rlauth/realAuth.sko")
public void realAuth(org.springframework.ui.ModelMap model,
                                    javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response)
              throws java.lang.Exception
실명인증 처리 액션

Parameters:
model -
request -
Throws:
java.lang.Exception

eaLoginAction

@RequestMapping(value="/ssoUser/eaLoginProc.*")
public java.lang.String eaLoginAction(@ModelAttribute(value="loginVO")
                                                     LoginVO loginVO,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response,
                                                     org.springframework.ui.ModelMap model)
                               throws java.lang.Exception
전자 결재 로그인

Parameters:
loginVO -
request -
model -
Returns:
Throws:
java.lang.Exception

getLocalServerIp

public java.lang.String getLocalServerIp()

sampleList

@RequestMapping(value="/iam/sample/list.sko")
public java.lang.String sampleList(org.springframework.ui.ModelMap model,
                                                  javax.servlet.http.HttpServletRequest request)
                            throws java.lang.Exception
샘플 페이지 목록 접근 테스트

Throws:
java.lang.Exception

sampleWrite

@RequestMapping(value="/iam/sample/write.sko")
public java.lang.String sampleWrite(org.springframework.ui.ModelMap model,
                                                   javax.servlet.http.HttpServletRequest request)
                             throws java.lang.Exception
샘플 페이지 입력 접근 테스트

Throws:
java.lang.Exception

setApplicationEventPublisher

public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher eventPublisher)
Specified by:
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware

nILoginAction

@RequestMapping(value="/sso/nILoginProc.*")
public java.lang.String nILoginAction(@ModelAttribute(value="loginVO")
                                                     LoginVO loginVO,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response,
                                                     org.springframework.ui.ModelMap model)
                               throws java.lang.Exception
새올행정시스템 SSO_PASSNI

Parameters:
loginVO -
request -
model -
Returns:
Throws:
java.lang.Exception

userPwChangeAct

@RequestMapping(value="/iam/login/userPwChangeAct.sko")
public java.lang.String userPwChangeAct(@ModelAttribute(value="loginVO")
                                                       LoginVO loginVO,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       org.springframework.ui.ModelMap model)
                                 throws java.lang.Exception
사용자 PW변경 2.0 => 3.0 사용자 동기화 사용 박 형 민

Parameters:
loginVO -
request -
model -
Returns:
Throws:
java.lang.Exception

userPwChangeAct2

@RequestMapping(value="/user/login/userPwChangeAct.*")
public java.lang.String userPwChangeAct2(@ModelAttribute(value="loginVO")
                                                        LoginVO loginVO,
                                                        javax.servlet.http.HttpServletRequest request,
                                                        org.springframework.ui.ModelMap model)
                                  throws java.lang.Exception
유저페이지 패스워드 변경처리

Parameters:
loginVO -
request -
model -
Returns:
Throws:
java.lang.Exception

urlCheckConnection

public boolean urlCheckConnection(java.lang.String uId,
                                  java.lang.String uPw)