| | |
| | | package com.pollex.pam.config; |
| | | |
| | | import com.pollex.pam.business.config.AppProperties; |
| | | import com.pollex.pam.business.config.SendEmailProperties; |
| | | import com.pollex.pam.business.config.SendSMSProperties; |
| | | import com.pollex.pam.business.enums.SendEmailMsgMethod; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | |
| | | /** |
| | |
| | | * See {@link tech.jhipster.config.JHipsterProperties} for a good example. |
| | | */ |
| | | @ConfigurationProperties(prefix = "application", ignoreUnknownFields = false) |
| | | public class ApplicationProperties { |
| | | public class ApplicationProperties implements AppProperties { |
| | | |
| | | private boolean mockLogin; |
| | | private String otpWebServiceUrl; |
| | |
| | | private String eServiceLoginUrl; |
| | | private String eServiceLoginFunc; |
| | | private String eServiceLoginSys; |
| | | private String frontEndDomain; |
| | | private SendSMSProperties sms; |
| | | private SendEmailProperties email; |
| | | private String fileFolderPath; |
| | | private String aesKey; |
| | | private String defaultPaxxword; |
| | | |
| | | public boolean isMockLogin() { |
| | | return mockLogin; |
| | |
| | | public void seteServiceLoginSys(String eServiceLoginSys) { |
| | | this.eServiceLoginSys = eServiceLoginSys; |
| | | } |
| | | |
| | | public String getFrontEndDomain() { |
| | | return frontEndDomain; |
| | | } |
| | | |
| | | public void setFrontEndDomain(String frontEndDomain) { |
| | | this.frontEndDomain = frontEndDomain; |
| | | } |
| | | |
| | | public SendSMSProperties getSms() { |
| | | return sms; |
| | | } |
| | | |
| | | public void setSms(SendSMSProperties sms) { |
| | | this.sms = sms; |
| | | } |
| | | |
| | | public SendEmailProperties getEmail() { |
| | | return email; |
| | | } |
| | | |
| | | public void setEmail(SendEmailProperties email) { |
| | | this.email = email; |
| | | } |
| | | |
| | | public String getFileFolderPath() { |
| | | return fileFolderPath; |
| | | } |
| | | |
| | | public void setFileFolderPath(String fileFolderPath) { |
| | | this.fileFolderPath = fileFolderPath; |
| | | } |
| | | |
| | | @Override |
| | | public String getAesKey() { |
| | | return aesKey; |
| | | } |
| | | |
| | | public void setAesKey(String aesKey) { |
| | | this.aesKey = aesKey; |
| | | } |
| | | |
| | | @Override |
| | | public String getDefaultPaxxword() { |
| | | return defaultPaxxword; |
| | | } |
| | | |
| | | public void setDefaultPaxxword(String defaultPaxxword) { |
| | | this.defaultPaxxword = defaultPaxxword; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |