휴대폰 인증번호 발급부분 로깅 변경
This commit is contained in:
@@ -5,6 +5,7 @@ import lombok.extern.slf4j.Slf4j;
|
|||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import org.springframework.util.StringUtils;
|
import org.springframework.util.StringUtils;
|
||||||
|
|
||||||
|
import javax.annotation.PostConstruct;
|
||||||
import java.security.SecureRandom;
|
import java.security.SecureRandom;
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
@@ -18,6 +19,12 @@ public class AuthNumberGenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@PostConstruct
|
||||||
|
public void init() {
|
||||||
|
log.warn("가상 인증코드 활성화 상태 - {}", portalProperties.getAuthVirtualCode());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public String generateAuthNumber() {
|
public String generateAuthNumber() {
|
||||||
if (StringUtils.hasLength(portalProperties.getAuthVirtualCode())) {
|
if (StringUtils.hasLength(portalProperties.getAuthVirtualCode())) {
|
||||||
log.info("가상 인증코드 활성화 상태 - {}", portalProperties.getAuthVirtualCode());
|
log.info("가상 인증코드 활성화 상태 - {}", portalProperties.getAuthVirtualCode());
|
||||||
|
|||||||
Reference in New Issue
Block a user