properties
This commit is contained in:
@@ -19,10 +19,53 @@
|
||||
server.port=8080
|
||||
#session default 1800
|
||||
server.servlet.session.timeout=1800
|
||||
#web app context path
|
||||
#server context path
|
||||
server.servlet.context-path=/maxkey
|
||||
spring.servlet.multipart.enabled=true
|
||||
spring.servlet.multipart.max-file-size=4194304
|
||||
|
||||
############################################################################
|
||||
#domain name configuration #
|
||||
############################################################################
|
||||
maxkey.server.scheme=http
|
||||
maxkey.server.basedomain=maxkey.top
|
||||
maxkey.server.domain=sso.${maxkey.server.basedomain}
|
||||
maxkey.server.name=${maxkey.server.scheme}://${maxkey.server.domain}
|
||||
maxkey.server.uri=${maxkey.server.name}/maxkey
|
||||
#default.uri
|
||||
maxkey.server.default.uri=${maxkey.server.uri}/maxkey/appList
|
||||
maxkey.server.management.uri=${maxkey.server.name}:9521/maxkey-mgt/login
|
||||
#InMemory 0 , Redis 2
|
||||
maxkey.server.persistence=0
|
||||
#identity
|
||||
maxkey.identity.kafkasupport=false
|
||||
#issuer name
|
||||
maxkey.app.issuer=CN=ConSec,CN=COM,CN=SH
|
||||
############################################################################
|
||||
#Login configuration #
|
||||
############################################################################
|
||||
#enable captcha
|
||||
maxkey.login.captcha=true
|
||||
#text or arithmetic
|
||||
maxkey.login.captcha.type=text
|
||||
#enable two factor,use one time password
|
||||
maxkey.login.mfa=true
|
||||
#TimeBasedOtpAuthn MailOtpAuthn SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud
|
||||
maxkey.login.mfa.type=TimeBasedOtpAuthn
|
||||
#enable social sign on
|
||||
maxkey.login.socialsignon=true
|
||||
#social sign on providers
|
||||
maxkey.login.socialsignon.providers=gitee,wechatopen,sinaweibo,google,qq,dingtalk,microsoft,facebook,workweixin
|
||||
#Enable kerberos/SPNEGO
|
||||
maxkey.login.kerberos=true
|
||||
#wsFederation
|
||||
maxkey.login.wsfederation=false
|
||||
#remeberme
|
||||
maxkey.login.remeberme=true
|
||||
#validity
|
||||
maxkey.login.remeberme.validity=0
|
||||
#to default application web site
|
||||
maxkey.login.default.uri=/appList
|
||||
maxkey.ipaddress.whitelist=false
|
||||
maxkey.notices.visible=false
|
||||
############################################################################
|
||||
#ssl configuration #
|
||||
############################################################################
|
||||
@@ -32,11 +75,6 @@ spring.servlet.multipart.max-file-size=4194304
|
||||
#server.ssl.key-store-password=maxkey
|
||||
#server.ssl.key-store-type=JKS
|
||||
|
||||
#encoding
|
||||
#server.servlet.encoding.charset=UTF-8
|
||||
#server.servlet.encoding.enabled=true
|
||||
#server.servlet.encoding.force=true
|
||||
|
||||
############################################################################
|
||||
#database configuration
|
||||
# supported database
|
||||
@@ -60,7 +98,6 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
#spring.datasource.password=maxkey!
|
||||
#spring.datasource.url=jdbc:postgresql://localhost/maxkey?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
#spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
|
||||
#mybatis
|
||||
mybatis.dialect=mysql
|
||||
mybatis.type-aliases-package=org.maxkey.entity,org.maxkey.entity.apps,
|
||||
@@ -97,32 +134,7 @@ spring.mail.properties.mailotp.message.subject=MaxKey One Time PassWord
|
||||
spring.mail.properties.mailotp.message.template={0} You Token is {1} , it validity in {2} minutes.
|
||||
spring.mail.properties.mailotp.message.type=html
|
||||
spring.mail.properties.mailotp.message.validity=300
|
||||
############################################################################
|
||||
#freemarker configuration #
|
||||
############################################################################
|
||||
spring.freemarker.template-loader-path=classpath:/templates/views
|
||||
spring.freemarker.cache=false
|
||||
spring.freemarker.charset=UTF-8
|
||||
spring.freemarker.check-template-location=true
|
||||
spring.freemarker.content-type=text/html
|
||||
spring.freemarker.expose-request-attributes=false
|
||||
spring.freemarker.expose-session-attributes=false
|
||||
spring.freemarker.request-context-attribute=request
|
||||
spring.freemarker.suffix=.ftl
|
||||
|
||||
############################################################################
|
||||
#static resources configuration #
|
||||
############################################################################
|
||||
spring.mvc.static-path-pattern=/static/**
|
||||
spring.messages.basename=classpath:messages/message
|
||||
spring.messages.encoding=UTF-8
|
||||
|
||||
############################################################################
|
||||
#Main.banner-mode configuration #
|
||||
############################################################################
|
||||
spring.main.banner-mode=log
|
||||
spring.main.allow-bean-definition-overriding=true
|
||||
|
||||
############################################################################
|
||||
#Spring Session for Cluster configuration #
|
||||
############################################################################
|
||||
@@ -156,60 +168,8 @@ spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.Str
|
||||
# partitioner
|
||||
# spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
||||
|
||||
############################################################################
|
||||
#Management endpoints configuration #
|
||||
############################################################################
|
||||
management.security.enabled=false
|
||||
#management.endpoints.jmx.exposure.include=health,info
|
||||
management.endpoints.web.exposure.include=metrics,health,info,env
|
||||
|
||||
############################################################################
|
||||
#domain name configuration #
|
||||
############################################################################
|
||||
maxkey.server.scheme=http
|
||||
maxkey.server.basedomain=maxkey.top
|
||||
maxkey.server.domain=sso.${maxkey.server.basedomain}
|
||||
maxkey.server.name=${maxkey.server.scheme}://${maxkey.server.domain}
|
||||
maxkey.server.uri=${maxkey.server.name}/maxkey
|
||||
#default.uri
|
||||
maxkey.server.default.uri=${maxkey.server.uri}/maxkey/appList
|
||||
maxkey.server.management.uri=${maxkey.server.name}:9521/maxkey-mgt/login
|
||||
#InMemory 0 , Redis 2
|
||||
maxkey.server.persistence=0
|
||||
#identity
|
||||
maxkey.identity.kafkasupport=false
|
||||
|
||||
maxkey.app.issuer=CN=ConSec,CN=COM,CN=SH
|
||||
############################################################################
|
||||
#Login configuration #
|
||||
############################################################################
|
||||
#enable captcha
|
||||
maxkey.login.captcha=true
|
||||
#text or arithmetic
|
||||
maxkey.login.captcha.type=text
|
||||
#enable two factor,use one time password
|
||||
maxkey.login.mfa=true
|
||||
#TimeBasedOtpAuthn MailOtpAuthn SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud
|
||||
maxkey.login.mfa.type=TimeBasedOtpAuthn
|
||||
#enable social sign on
|
||||
maxkey.login.socialsignon=true
|
||||
#social sign on providers
|
||||
maxkey.login.socialsignon.providers=gitee,wechatopen,sinaweibo,google,qq,dingtalk,microsoft,facebook,workweixin
|
||||
#Enable kerberos/SPNEGO
|
||||
maxkey.login.kerberos=true
|
||||
#wsFederation
|
||||
maxkey.login.wsfederation=false
|
||||
#remeberme
|
||||
maxkey.login.remeberme=true
|
||||
#validity
|
||||
maxkey.login.remeberme.validity=0
|
||||
#to default application web site
|
||||
maxkey.login.default.uri=appList
|
||||
maxkey.ipaddress.whitelist=false
|
||||
maxkey.notices.visible=false
|
||||
|
||||
############################################################################
|
||||
#Kerberos Login configuration #
|
||||
#SMS Message Login configuration #
|
||||
#SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud #
|
||||
############################################################################
|
||||
#default
|
||||
@@ -239,30 +199,6 @@ maxkey.otp.keyuri.format.issuer=MaxKey
|
||||
maxkey.otp.keyuri.format.domain=${maxkey.server.domain}
|
||||
maxkey.otp.keyuri.format.period=30
|
||||
|
||||
############################################################################
|
||||
#Kerberos Login configuration #
|
||||
#short name of user domain must be in upper case,eg:MAXKEY #
|
||||
############################################################################
|
||||
maxkey.support.kerberos.default.userdomain=MAXKEY
|
||||
#short name of user domain must be in upper case,eg:MAXKEY.ORG
|
||||
maxkey.support.kerberos.default.fulluserdomain=MAXKEY.ORG
|
||||
#last 8Bit crypto for Kerberos web Authentication
|
||||
maxkey.support.kerberos.default.crypto=846KZSzYq56M6d5o
|
||||
#Kerberos Authentication server RUL
|
||||
maxkey.support.kerberos.default.redirecturi=http://sso.maxkey.top/kerberos/authn/
|
||||
############################################################################
|
||||
#HTTPHEADER Login configuration #
|
||||
############################################################################
|
||||
maxkey.support.httpheader.enable=false
|
||||
maxkey.support.httpheader.headername=header-user
|
||||
# iv-user is for IBM Security Access Manager
|
||||
#config.httpheader.headername=iv-user
|
||||
|
||||
############################################################################
|
||||
#BASIC Login support configuration #
|
||||
############################################################################
|
||||
maxkey.support.basic.enable=false
|
||||
|
||||
############################################################################
|
||||
#LDAP Login support configuration #
|
||||
############################################################################
|
||||
@@ -288,6 +224,30 @@ maxkey.support.ldap.truststorepassword=maxkey
|
||||
#activedirectory effective
|
||||
maxkey.support.ldap.activedirectory.domain=MAXKEY.ORG
|
||||
|
||||
############################################################################
|
||||
#Kerberos Login configuration #
|
||||
#short name of user domain must be in upper case,eg:MAXKEY #
|
||||
############################################################################
|
||||
maxkey.support.kerberos.default.userdomain=MAXKEY
|
||||
#short name of user domain must be in upper case,eg:MAXKEY.ORG
|
||||
maxkey.support.kerberos.default.fulluserdomain=MAXKEY.ORG
|
||||
#last 8Bit crypto for Kerberos web Authentication
|
||||
maxkey.support.kerberos.default.crypto=846KZSzYq56M6d5o
|
||||
#Kerberos Authentication server RUL
|
||||
maxkey.support.kerberos.default.redirecturi=http://sso.maxkey.top/kerberos/authn/
|
||||
|
||||
############################################################################
|
||||
#HTTPHEADER Login configuration #
|
||||
############################################################################
|
||||
maxkey.support.httpheader.enable=false
|
||||
maxkey.support.httpheader.headername=header-user
|
||||
# iv-user is for IBM Security Access Manager
|
||||
#config.httpheader.headername=iv-user
|
||||
|
||||
############################################################################
|
||||
#BASIC Login support configuration #
|
||||
############################################################################
|
||||
maxkey.support.basic.enable=false
|
||||
|
||||
#############################################################################
|
||||
#WsFederation Login support configuration
|
||||
@@ -436,6 +396,19 @@ maxkey.socialsignon.facebook.account.id=id
|
||||
maxkey.socialsignon.facebook.hidden=false
|
||||
maxkey.socialsignon.facebook.sortorder=8
|
||||
|
||||
############################################################################
|
||||
#Management endpoints configuration #
|
||||
############################################################################
|
||||
management.security.enabled=false
|
||||
#management.endpoints.jmx.exposure.include=health,info
|
||||
#management.endpoints.web.exposure.include=metrics,health,info,env
|
||||
management.endpoints.web.exposure.include=*
|
||||
management.endpoint.health.show-details=ALWAYS
|
||||
#Spring Boot Admin Client
|
||||
spring.application.name=maxkey
|
||||
spring.boot.admin.client.url=http://127.0.0.1:9528
|
||||
management.health.redis.enabled: false
|
||||
|
||||
############################################################################
|
||||
#springfox.documentation.swagger.v2.path=/api-docs #
|
||||
#Swagger Configure Properties #
|
||||
@@ -443,4 +416,44 @@ maxkey.socialsignon.facebook.sortorder=8
|
||||
maxkey.swagger.enable=true
|
||||
maxkey.swagger.title=MaxKey\u5355\u70b9\u767b\u5f55\u8ba4\u8bc1\u7cfb\u7edfapi\u6587\u6863
|
||||
maxkey.swagger.description=MaxKey\u5355\u70b9\u767b\u5f55\u8ba4\u8bc1\u7cfb\u7edfapi\u6587\u6863
|
||||
maxkey.swagger.version=${application.formatted-version}
|
||||
maxkey.swagger.version=${application.formatted-version}
|
||||
|
||||
############################################################################
|
||||
#freemarker configuration #
|
||||
############################################################################
|
||||
spring.freemarker.template-loader-path=classpath:/templates/views
|
||||
spring.freemarker.cache=false
|
||||
spring.freemarker.charset=UTF-8
|
||||
spring.freemarker.check-template-location=true
|
||||
spring.freemarker.content-type=text/html
|
||||
spring.freemarker.expose-request-attributes=false
|
||||
spring.freemarker.expose-session-attributes=false
|
||||
spring.freemarker.request-context-attribute=request
|
||||
spring.freemarker.suffix=.ftl
|
||||
|
||||
############################################################################
|
||||
#static resources configuration #
|
||||
############################################################################
|
||||
spring.mvc.static-path-pattern=/static/**
|
||||
spring.messages.basename=classpath:messages/message
|
||||
spring.messages.encoding=UTF-8
|
||||
|
||||
############################################################################
|
||||
#server servlet encoding configuration #
|
||||
############################################################################
|
||||
#encoding
|
||||
#server.servlet.encoding.charset=UTF-8
|
||||
#server.servlet.encoding.enabled=true
|
||||
#server.servlet.encoding.force=true
|
||||
|
||||
############################################################################
|
||||
#Servlet multipart configuration #
|
||||
############################################################################
|
||||
spring.servlet.multipart.enabled=true
|
||||
spring.servlet.multipart.max-file-size=4194304
|
||||
|
||||
############################################################################
|
||||
#Main.banner-mode configuration #
|
||||
############################################################################
|
||||
spring.main.banner-mode=log
|
||||
spring.main.allow-bean-definition-overriding=true
|
||||
|
||||
Reference in New Issue
Block a user