|
|
@@ -365,7 +365,7 @@ public class TsfCustomerController extends TsfBaseController {
|
|
|
*/
|
|
|
@GetMapping("/nice/cellphone/form")
|
|
|
public ModelAndView niceCellphoneForm(@RequestParam(value = "redirectUrl", required = false) String redirectUrl
|
|
|
- , @RequestParam(value = "custParams", required = false) String custParams) {
|
|
|
+ , @RequestParam(value = "custParams", required = false) String custParams) {
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
GagaMap result = niceCertify.certifyCellPhone();
|
|
|
|
|
|
@@ -388,12 +388,14 @@ public class TsfCustomerController extends TsfBaseController {
|
|
|
* @since 2021. 02. 09
|
|
|
*/
|
|
|
@GetMapping("/nice/ipin/form")
|
|
|
- public ModelAndView getCertifyNiceIpin(@RequestParam(value = "redirectUrl", required = false) String redirectUrl) {
|
|
|
+ public ModelAndView getCertifyNiceIpin(@RequestParam(value = "redirectUrl", required = false) String redirectUrl
|
|
|
+ , @RequestParam(value = "custParams", required = false) String custParams) {
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
GagaMap result = niceCertify.certifyIpin();
|
|
|
|
|
|
if (TscConstants.FrontGb.MOB.value().equals(TsfSession.getFrontGb())) {
|
|
|
mav.addObject("redirectUrl", redirectUrl); // 모바일만 사용
|
|
|
+ mav.addObject("custParams", custParams); // 모바일만 사용
|
|
|
}
|
|
|
|
|
|
mav.addObject("sEncData", result.getString("sEncData"));
|
|
|
@@ -659,15 +661,29 @@ public class TsfCustomerController extends TsfBaseController {
|
|
|
/**
|
|
|
* 휴면해제 인증화면
|
|
|
*
|
|
|
+ * @param sEncData - 본인인증 후 받는 암호화데이터
|
|
|
+ * @param authMethod - 인증방법(휴대폰, 아이핀)
|
|
|
+ * @param custParams - 아이핀 인증 후 필요한 값 받는 변수
|
|
|
* @return ModelAndView - 가입완료 화면
|
|
|
* @author jsshin
|
|
|
* @since 2021. 03. 08
|
|
|
*/
|
|
|
@RequestMapping("/dormant/certify/form")
|
|
|
public ModelAndView getDormantCeirtyForm(@RequestParam(value = "sEncData", required = false) String sEncData
|
|
|
- , @RequestParam(value = "authMethod", required = false) String authMethod) {
|
|
|
+ , @RequestParam(value = "authMethod", required = false) String authMethod
|
|
|
+ , @RequestParam(value = "custParams", required = false) String custParams) {
|
|
|
+
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
|
|
|
+ // http 에서는 Same-Site None 설정이 안되므로 아래와 같이 처리
|
|
|
+ if (StringUtils.isNotBlank(custParams)) {
|
|
|
+ TsfSession.setAttribute("custNo", custParams);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (TscConstants.FrontGb.MOB.value().equals(TsfSession.getFrontGb())) {
|
|
|
+ mav.addObject("custNo", TsfSession.getAttribute("custNo"));
|
|
|
+ }
|
|
|
+
|
|
|
mav.addObject("sEncData", sEncData);
|
|
|
mav.addObject("authMethod", authMethod);
|
|
|
|
|
|
@@ -728,6 +744,7 @@ public class TsfCustomerController extends TsfBaseController {
|
|
|
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
|
|
|
+ // http 에서는 Same-Site None 설정이 안되므로 아래와 같이 처리
|
|
|
if (StringUtils.isNotBlank(custParams)) {
|
|
|
TsfSession.setAttribute("custNo", custParams);
|
|
|
}
|