This commit is contained in:
MaxKey
2022-01-18 14:21:49 +08:00
parent d4a8c19c6e
commit ff2cf5b82f
137 changed files with 872 additions and 912 deletions

View File

@@ -178,28 +178,6 @@ spring.kafka.producer.value-serializer =org.apache.kafka.common.seriali
# partitioner
#spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
############################################################################
#SMS Message Login configuration #
#aliyun yunxin tencentcloud #
############################################################################
#default
maxkey.otp.sms.provider =${SMS_PROVIDER:yunxin}
#aliyun
maxkey.otp.sms.aliyun.accesskeyid =${SMS_ALIYUN_ACCESSKEYID:94395d754eb55693043f5d6a2b772ef4}
maxkey.otp.sms.aliyun.accesssecret =${SMS_ALIYUN_ACCESSSECRET:05d5485357bc}
maxkey.otp.sms.aliyun.templatecode =${SMS_ALIYUN_TEMPLATECODE:14860095}
maxkey.otp.sms.aliyun.signname =${SMS_ALIYUN_SIGNNAME:maxkey}
#yunxin
maxkey.otp.sms.yunxin.appkey =${SMS_YUNXIN_APPKEY:94395d754eb55693043f5d6a2b772ef3}
maxkey.otp.sms.yunxin.appsecret =${SMS_YUNXIN_APPSECRET:05d5485357bc}
maxkey.otp.sms.yunxin.templateid =${SMS_YUNXIN_TEMPLATEID:14860099}
#tencentcloud
maxkey.otp.sms.tencentcloud.secretid =${SMS_TENCENTCLOUD_SECRETID:94395d754eb55693043f5d6a2b772ef4}
maxkey.otp.sms.tencentcloud.secretkey =${SMS_TENCENTCLOUD_SECRETKEY:05d5485357bc}
maxkey.otp.sms.tencentcloud.smssdkappid =${SMS_TENCENTCLOUD_SMSSDKAPPID:1486220095}
maxkey.otp.sms.tencentcloud.templateid =${SMS_TENCENTCLOUD_TEMPLATEID:14860095}
maxkey.otp.sms.tencentcloud.sign =${SMS_TENCENTCLOUD_SIGN:1486009522}
############################################################################
#Time-based One-Time Password configuration #
############################################################################
@@ -209,24 +187,6 @@ maxkey.otp.policy.issuer =${OTP_POLICY_ISSUER:MaxKey}
maxkey.otp.policy.domain =${maxkey.server.domain}
maxkey.otp.policy.period =30
############################################################################
#LDAP Login support configuration #
############################################################################
maxkey.login.ldap.enable =${LDAP_ENABLE:false}
maxkey.login.ldap.jit =false
#openldap,activedirectory,normal
maxkey.login.ldap.product =${LDAP_PRODUCT:openldap}
maxkey.login.ldap.ssl =${LDAP_SSL:false}
maxkey.login.ldap.providerurl =${LDAP_PROVIDERURL:ldap://localhost:389}
maxkey.login.ldap.principal =${LDAP_PRINCIPAL:cn=Manager,dc=maxcrc,dc=com}
maxkey.login.ldap.credentials =${LDAP_CREDENTIALS:secret}
maxkey.login.ldap.basedn =${LDAP_BASEDN:dc=maxcrc,dc=com}
maxkey.login.ldap.filter =(uid=%s)
maxkey.login.ldap.truststore =${LDAP_TRUSTSTORE:maxkey}
maxkey.login.ldap.truststorepassword =${LDAP_TRUSTSTORE_PASSWORD:maxkey}
#activedirectory effective
maxkey.login.ldap.activedirectory.domain =${LDAP_AD_DOMAIN:MAXKEY.ORG}
############################################################################
#Kerberos Login configuration #
#short name of user domain must be in upper case,eg:MAXKEY #