oAuth token 발급 시 client id를 전송하지 않을 경우, 발생하는 오류 처리
- 파라미터로 넘어올 때만, prop에 설정되도록 수정 - 응답에 광주은행 문구 제거
This commit is contained in:
@@ -163,7 +163,9 @@ public class DJBOAuth2Controller {
|
||||
logTokenIssuance(false, false, e.getMessage(), null);
|
||||
|
||||
Properties logProp = new Properties();
|
||||
logProp.put("clientId", clientId);
|
||||
if(StringUtils.isNotEmpty(clientId))
|
||||
logProp.put("clientId", clientId);
|
||||
|
||||
UnknownMessageLogUtils.logUnkownMessage(this.getClass().getSimpleName(), this.getClass().getSimpleName(),
|
||||
tokenRequest.toString(), logProp, request, response, "RECEAIIRP301", e);
|
||||
|
||||
@@ -178,7 +180,9 @@ public class DJBOAuth2Controller {
|
||||
logTokenIssuance(false, false, e.getMessage(), null);
|
||||
|
||||
Properties logProp = new Properties();
|
||||
logProp.put("clientId", clientId);
|
||||
if(StringUtils.isNotEmpty(clientId))
|
||||
logProp.put("clientId", clientId);
|
||||
|
||||
UnknownMessageLogUtils.logUnkownMessage(this.getClass().getSimpleName(), this.getClass().getSimpleName(),
|
||||
tokenRequest.toString(), logProp, request, response, "RECEAIIRP301", e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user