| | |
| | | package com.pollex.pam.service; |
| | | |
| | | import com.pollex.pam.config.ApplicationProperties; |
| | | import com.pollex.pam.service.dto.OtpResponseDTO; |
| | | import com.pollex.pam.business.service.dto.OtpResponseDTO; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | public OtpResponseDTO sendByEmail(String email) { |
| | | OtpWeb otpWS = getOtpWebService(); |
| | | log.debug("call OtpService sendByEmail, url = {}, systemType = {}, service password = {}, email = {}", |
| | | applicationProperty.getOtpWebServiceUrl(), applicationProperty.getOtpWebServiceSystemType(), applicationProperty.getOtpWebServicePassword(), email); |
| | | // log.debug("call OtpService sendByEmail, url = {}, systemType = {}, service password = {}, email = {}", |
| | | // applicationProperty.getOtpWebServiceUrl(), applicationProperty.getOtpWebServiceSystemType(), applicationProperty.getOtpWebServicePassword(), email); |
| | | |
| | | StringArray result = |
| | | otpWS.sendOtpByEmail(applicationProperty.getOtpWebServicePassword(), applicationProperty.getOtpWebServiceSystemType(), email); |