mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
v2.7.0 GA
application.properties for v2.7.0 GA
This commit is contained in:
parent
b62ab52835
commit
2e4b143d06
@ -1,9 +1,13 @@
|
|||||||
#spring.profiles.active=dev
|
############################################################################
|
||||||
#application
|
#MaxKey Title and Version #
|
||||||
|
############################################################################
|
||||||
application.title=MaxKey
|
application.title=MaxKey
|
||||||
application.name=MaxKey-Mgt
|
application.name=MaxKey-Mgt
|
||||||
application.formatted-version=v2.7.0 GA
|
application.formatted-version=v2.7.0 GA
|
||||||
#server config
|
|
||||||
|
############################################################################
|
||||||
|
#MaxKey Server configuration #
|
||||||
|
############################################################################
|
||||||
#server port
|
#server port
|
||||||
server.port=9527
|
server.port=9527
|
||||||
#web app context path
|
#web app context path
|
||||||
@ -14,7 +18,10 @@ spring.servlet.multipart.max-file-size=4194304
|
|||||||
#server.servlet.encoding.charset=
|
#server.servlet.encoding.charset=
|
||||||
#server.servlet.encoding.enabled=
|
#server.servlet.encoding.enabled=
|
||||||
#server.servlet.encoding.force=
|
#server.servlet.encoding.force=
|
||||||
#datasource
|
|
||||||
|
############################################################################
|
||||||
|
#database configuration #
|
||||||
|
############################################################################
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=maxkey
|
spring.datasource.password=maxkey
|
||||||
spring.datasource.url=jdbc:mysql://localhost/maxkey?autoReconnect=true&characterEncoding=UTF-8&serverTimezone=UTC
|
spring.datasource.url=jdbc:mysql://localhost/maxkey?autoReconnect=true&characterEncoding=UTF-8&serverTimezone=UTC
|
||||||
@ -24,7 +31,10 @@ spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
|||||||
mybatis.type-aliases-package=org.maxkey.domain,org.maxkey.domain.apps,
|
mybatis.type-aliases-package=org.maxkey.domain,org.maxkey.domain.apps,
|
||||||
mybatis.mapper-locations=classpath*:/org/maxkey/persistence/mapper/xml/mysql/*.xml
|
mybatis.mapper-locations=classpath*:/org/maxkey/persistence/mapper/xml/mysql/*.xml
|
||||||
mybatis.table-column-escape=true
|
mybatis.table-column-escape=true
|
||||||
#redis
|
|
||||||
|
############################################################################
|
||||||
|
#redis server configuration #
|
||||||
|
############################################################################
|
||||||
#spring.redis.host=127.0.0.1
|
#spring.redis.host=127.0.0.1
|
||||||
#spring.redis.port=6379
|
#spring.redis.port=6379
|
||||||
#spring.redis.password=password
|
#spring.redis.password=password
|
||||||
@ -34,7 +44,9 @@ mybatis.table-column-escape=true
|
|||||||
#spring.redis.lettuce.pool.max-active=-1
|
#spring.redis.lettuce.pool.max-active=-1
|
||||||
#spring.redis.lettuce.pool.min-idle=0
|
#spring.redis.lettuce.pool.min-idle=0
|
||||||
|
|
||||||
#mail
|
############################################################################
|
||||||
|
#mail configuration #
|
||||||
|
############################################################################
|
||||||
#spring.mail.default-encoding=utf-8
|
#spring.mail.default-encoding=utf-8
|
||||||
#spring.mail.host=smtp.163.com
|
#spring.mail.host=smtp.163.com
|
||||||
#spring.mail.port=465
|
#spring.mail.port=465
|
||||||
@ -44,7 +56,9 @@ mybatis.table-column-escape=true
|
|||||||
#spring.mail.properties.ssl=true
|
#spring.mail.properties.ssl=true
|
||||||
#spring.mail.properties.sender=maxkey@163.com
|
#spring.mail.properties.sender=maxkey@163.com
|
||||||
|
|
||||||
#freemarker
|
############################################################################
|
||||||
|
#freemarker configuration #
|
||||||
|
############################################################################
|
||||||
spring.freemarker.template-loader-path=classpath:/templates/views
|
spring.freemarker.template-loader-path=classpath:/templates/views
|
||||||
spring.freemarker.cache=false
|
spring.freemarker.cache=false
|
||||||
spring.freemarker.charset=UTF-8
|
spring.freemarker.charset=UTF-8
|
||||||
@ -56,13 +70,22 @@ spring.freemarker.request-context-attribute=request
|
|||||||
spring.freemarker.suffix=.ftl
|
spring.freemarker.suffix=.ftl
|
||||||
#spring.freemarker.settings.classic_compatible=true
|
#spring.freemarker.settings.classic_compatible=true
|
||||||
|
|
||||||
#static resources
|
############################################################################
|
||||||
|
#static resources configuration #
|
||||||
|
############################################################################
|
||||||
spring.mvc.static-path-pattern=/static/**
|
spring.mvc.static-path-pattern=/static/**
|
||||||
spring.messages.basename=classpath:messages/message
|
spring.messages.basename=classpath:messages/message
|
||||||
spring.messages.encoding=UTF-8
|
spring.messages.encoding=UTF-8
|
||||||
#main
|
|
||||||
|
############################################################################
|
||||||
|
#Main.banner-mode configuration #
|
||||||
|
############################################################################
|
||||||
spring.main.banner-mode=log
|
spring.main.banner-mode=log
|
||||||
spring.main.allow-bean-definition-overriding=true
|
spring.main.allow-bean-definition-overriding=true
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#Spring Session configuration #
|
||||||
|
############################################################################
|
||||||
#Session store type.
|
#Session store type.
|
||||||
spring.session.store-type=none
|
spring.session.store-type=none
|
||||||
#spring.session.store-type=redis
|
#spring.session.store-type=redis
|
||||||
@ -72,7 +95,10 @@ spring.session.store-type=none
|
|||||||
#spring.session.redis.flush-mode=on_save
|
#spring.session.redis.flush-mode=on_save
|
||||||
# Namespace for keys used to store sessions.
|
# Namespace for keys used to store sessions.
|
||||||
#spring.session.redis.namespace=spring:session
|
#spring.session.redis.namespace=spring:session
|
||||||
###########\u3010Kafka\u96c6\u7fa4\u3011###########
|
|
||||||
|
############################################################################
|
||||||
|
#Kafka for connectors configuration #
|
||||||
|
############################################################################
|
||||||
spring.kafka.bootstrap-servers=localhost:9092
|
spring.kafka.bootstrap-servers=localhost:9092
|
||||||
###########\u3010\u521d\u59cb\u5316\u751f\u4ea7\u8005\u914d\u7f6e\u3011###########
|
###########\u3010\u521d\u59cb\u5316\u751f\u4ea7\u8005\u914d\u7f6e\u3011###########
|
||||||
# \u91cd\u8bd5\u6b21\u6570
|
# \u91cd\u8bd5\u6b21\u6570
|
||||||
@ -94,6 +120,9 @@ spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.Str
|
|||||||
# \u81ea\u5b9a\u4e49\u5206\u533a\u5668
|
# \u81ea\u5b9a\u4e49\u5206\u533a\u5668
|
||||||
# spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
# spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#Management endpoints configuration #
|
||||||
|
############################################################################
|
||||||
#management.server.port=9522
|
#management.server.port=9522
|
||||||
#management.server.servlet.context-path=/maxkey-mgt-actuate
|
#management.server.servlet.context-path=/maxkey-mgt-actuate
|
||||||
#management.endpoints.enabled-by-default=false
|
#management.endpoints.enabled-by-default=false
|
||||||
@ -102,7 +131,8 @@ management.security.enabled=false
|
|||||||
management.endpoints.web.exposure.include=metrics,health,info,env,beans
|
management.endpoints.web.exposure.include=metrics,health,info,env,beans
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# domain name configuration
|
#domain name configuration #
|
||||||
|
############################################################################
|
||||||
maxkey.server.scheme=http
|
maxkey.server.scheme=http
|
||||||
maxkey.server.basedomain=maxkey.top
|
maxkey.server.basedomain=maxkey.top
|
||||||
maxkey.server.domain=sso.${maxkey.server.basedomain}
|
maxkey.server.domain=sso.${maxkey.server.basedomain}
|
||||||
@ -115,8 +145,10 @@ maxkey.maxkey.uri=https://${maxkey.server.domain}/maxkey
|
|||||||
maxkey.server.persistence=0
|
maxkey.server.persistence=0
|
||||||
#identity
|
#identity
|
||||||
maxkey.identity.kafkasupport=false
|
maxkey.identity.kafkasupport=false
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#Login configuration #
|
||||||
############################################################################
|
############################################################################
|
||||||
# Login configuration
|
|
||||||
#enable captcha
|
#enable captcha
|
||||||
maxkey.login.captcha=true
|
maxkey.login.captcha=true
|
||||||
#text or arithmetic
|
#text or arithmetic
|
||||||
@ -136,17 +168,18 @@ maxkey.login.remeberme.validity=0
|
|||||||
#default.uri
|
#default.uri
|
||||||
#to appList page
|
#to appList page
|
||||||
maxkey.login.default.uri=appList
|
maxkey.login.default.uri=appList
|
||||||
|
#ipaddress whitelist
|
||||||
maxkey.ipaddress.whitelist=false
|
maxkey.ipaddress.whitelist=false
|
||||||
############################################################################
|
|
||||||
# SAML V2.0 configuration
|
#############################################################################
|
||||||
|
#SAML V2.0 configuration #
|
||||||
|
#############################################################################
|
||||||
# saml common
|
# saml common
|
||||||
maxkey.saml.v20.max.parser.pool.size=2
|
maxkey.saml.v20.max.parser.pool.size=2
|
||||||
maxkey.saml.v20.assertion.validity.time.ins.seconds=90
|
maxkey.saml.v20.assertion.validity.time.ins.seconds=90
|
||||||
maxkey.saml.v20.replay.cache.life.in.millis=14400000
|
maxkey.saml.v20.replay.cache.life.in.millis=14400000
|
||||||
maxkey.saml.v20.issue.instant.check.clock.skew.in.seconds=90
|
maxkey.saml.v20.issue.instant.check.clock.skew.in.seconds=90
|
||||||
maxkey.saml.v20.issue.instant.check.validity.time.in.seconds=300
|
maxkey.saml.v20.issue.instant.check.validity.time.in.seconds=300
|
||||||
|
|
||||||
#saml idp keystore
|
#saml idp keystore
|
||||||
maxkey.saml.v20.idp.keystore.password=maxkey
|
maxkey.saml.v20.idp.keystore.password=maxkey
|
||||||
maxkey.saml.v20.idp.keystore.private.key.password=maxkey
|
maxkey.saml.v20.idp.keystore.private.key.password=maxkey
|
||||||
@ -154,20 +187,24 @@ maxkey.saml.v20.idp.keystore=classpath\:config/samlServerKeystore.jks
|
|||||||
#keystore id for sec
|
#keystore id for sec
|
||||||
maxkey.saml.v20.idp.issuing.entity.id=maxkey.top
|
maxkey.saml.v20.idp.issuing.entity.id=maxkey.top
|
||||||
maxkey.saml.v20.idp.issuer=https://sso.maxkey.top/maxkey/saml
|
maxkey.saml.v20.idp.issuer=https://sso.maxkey.top/maxkey/saml
|
||||||
|
|
||||||
maxkey.saml.v20.idp.receiver.endpoint=https\://sso.maxkey.top/
|
maxkey.saml.v20.idp.receiver.endpoint=https\://sso.maxkey.top/
|
||||||
|
|
||||||
#saml sp keystore
|
#saml sp keystore
|
||||||
maxkey.saml.v20.sp.keystore.password=maxkey
|
maxkey.saml.v20.sp.keystore.password=maxkey
|
||||||
maxkey.saml.v20.sp.keystore.private.key.password=maxkey
|
maxkey.saml.v20.sp.keystore.private.key.password=maxkey
|
||||||
maxkey.saml.v20.sp.keystore=classpath\:config/samlClientKeystore.jks
|
maxkey.saml.v20.sp.keystore=classpath\:config/samlClientKeystore.jks
|
||||||
maxkey.saml.v20.sp.issuing.entity.id=client.maxkey.org
|
maxkey.saml.v20.sp.issuing.entity.id=client.maxkey.org
|
||||||
|
|
||||||
############################################################################
|
#############################################################################
|
||||||
|
#OIDC V1.0 METADATA configuration #
|
||||||
|
#############################################################################
|
||||||
maxkey.oidc.metadata.issuer=https://${maxkey.server.domain}/maxkey
|
maxkey.oidc.metadata.issuer=https://${maxkey.server.domain}/maxkey
|
||||||
maxkey.oidc.metadata.authorizationEndpoint=${maxkey.server.name}/maxkey/oauth/v20/authorize
|
maxkey.oidc.metadata.authorizationEndpoint=${maxkey.server.name}/maxkey/oauth/v20/authorize
|
||||||
maxkey.oidc.metadata.tokenEndpoint=${maxkey.server.name}/maxkey/oauth/v20/token
|
maxkey.oidc.metadata.tokenEndpoint=${maxkey.server.name}/maxkey/oauth/v20/token
|
||||||
maxkey.oidc.metadata.userinfoEndpoint=${maxkey.server.name}/maxkey/api/connect/userinfo
|
maxkey.oidc.metadata.userinfoEndpoint=${maxkey.server.name}/maxkey/api/connect/userinfo
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
#Job Scheduler #
|
||||||
#############################################################################
|
#############################################################################
|
||||||
#one hour for refresh dynamic groups
|
#one hour for refresh dynamic groups
|
||||||
maxkey.job.cron.dynamicgroups=0 0 0/1 * * ?
|
maxkey.job.cron.dynamicgroups=0 0 0/1 * * ?
|
||||||
|
|
||||||
|
|||||||
@ -1,24 +1,31 @@
|
|||||||
#spring.profiles.active=http
|
############################################################################
|
||||||
#application
|
#spring.profiles.active=http #
|
||||||
application.title=MaxKey
|
############################################################################
|
||||||
application.name=MaxKey
|
|
||||||
application.formatted-version=v2.7.0 GA
|
|
||||||
|
|
||||||
#server port
|
#server port
|
||||||
server.port=80
|
server.port=80
|
||||||
#session default 1800
|
#session default 1800
|
||||||
server.servlet.session.timeout=1800
|
server.servlet.session.timeout=1800
|
||||||
|
|
||||||
#web app context path
|
#web app context path
|
||||||
server.servlet.context-path=/maxkey
|
server.servlet.context-path=/maxkey
|
||||||
spring.servlet.multipart.enabled=true
|
spring.servlet.multipart.enabled=true
|
||||||
spring.servlet.multipart.max-file-size=4194304
|
spring.servlet.multipart.max-file-size=4194304
|
||||||
|
############################################################################
|
||||||
|
#ssl configuration #
|
||||||
|
############################################################################
|
||||||
|
#server.ssl.key-store=maxkeyserver.keystore
|
||||||
|
#server.ssl.key-alias=maxkey
|
||||||
|
#server.ssl.enabled=true
|
||||||
|
#server.ssl.key-store-password=maxkey
|
||||||
|
#server.ssl.key-store-type=JKS
|
||||||
|
|
||||||
#encoding
|
#encoding
|
||||||
#server.servlet.encoding.charset=UTF-8
|
#server.servlet.encoding.charset=UTF-8
|
||||||
#server.servlet.encoding.enabled=true
|
#server.servlet.encoding.enabled=true
|
||||||
#server.servlet.encoding.force=true
|
#server.servlet.encoding.force=true
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#database configuration #
|
||||||
|
############################################################################
|
||||||
#datasource
|
#datasource
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=maxkey
|
spring.datasource.password=maxkey
|
||||||
@ -30,7 +37,9 @@ mybatis.type-aliases-package=org.maxkey.domain,org.maxkey.domain.apps,
|
|||||||
mybatis.mapper-locations=classpath*:/org/maxkey/persistence/mapper/xml/mysql/*.xml
|
mybatis.mapper-locations=classpath*:/org/maxkey/persistence/mapper/xml/mysql/*.xml
|
||||||
mybatis.table-column-escape=true
|
mybatis.table-column-escape=true
|
||||||
|
|
||||||
#redis
|
############################################################################
|
||||||
|
#redis server configuration #
|
||||||
|
############################################################################
|
||||||
#spring.redis.host=127.0.0.1
|
#spring.redis.host=127.0.0.1
|
||||||
#spring.redis.port=6379
|
#spring.redis.port=6379
|
||||||
#spring.redis.password=password
|
#spring.redis.password=password
|
||||||
@ -40,7 +49,9 @@ mybatis.table-column-escape=true
|
|||||||
#spring.redis.lettuce.pool.max-active=-1
|
#spring.redis.lettuce.pool.max-active=-1
|
||||||
#spring.redis.lettuce.pool.min-idle=0
|
#spring.redis.lettuce.pool.min-idle=0
|
||||||
|
|
||||||
#mail
|
############################################################################
|
||||||
|
#mail configuration #
|
||||||
|
############################################################################
|
||||||
#spring.mail.default-encoding=utf-8
|
#spring.mail.default-encoding=utf-8
|
||||||
#spring.mail.host=smtp.163.com
|
#spring.mail.host=smtp.163.com
|
||||||
#spring.mail.port=465
|
#spring.mail.port=465
|
||||||
@ -52,7 +63,9 @@ mybatis.table-column-escape=true
|
|||||||
spring.mail.properties.mailotp.message.subject=MaxKey One Time PassWord
|
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.template={0} You Token is {1} , it validity in {2} minutes.
|
||||||
|
|
||||||
#for freemarker
|
############################################################################
|
||||||
|
#freemarker configuration #
|
||||||
|
############################################################################
|
||||||
spring.freemarker.template-loader-path=classpath:/templates/views
|
spring.freemarker.template-loader-path=classpath:/templates/views
|
||||||
spring.freemarker.cache=false
|
spring.freemarker.cache=false
|
||||||
spring.freemarker.charset=UTF-8
|
spring.freemarker.charset=UTF-8
|
||||||
@ -63,15 +76,22 @@ spring.freemarker.expose-session-attributes=false
|
|||||||
spring.freemarker.request-context-attribute=request
|
spring.freemarker.request-context-attribute=request
|
||||||
spring.freemarker.suffix=.ftl
|
spring.freemarker.suffix=.ftl
|
||||||
|
|
||||||
#static resources
|
############################################################################
|
||||||
|
#static resources configuration #
|
||||||
|
############################################################################
|
||||||
spring.mvc.static-path-pattern=/static/**
|
spring.mvc.static-path-pattern=/static/**
|
||||||
spring.messages.basename=classpath:messages/message
|
spring.messages.basename=classpath:messages/message
|
||||||
spring.messages.encoding=UTF-8
|
spring.messages.encoding=UTF-8
|
||||||
|
|
||||||
#main
|
############################################################################
|
||||||
|
#Main.banner-mode configuration #
|
||||||
|
############################################################################
|
||||||
spring.main.banner-mode=log
|
spring.main.banner-mode=log
|
||||||
spring.main.allow-bean-definition-overriding=true
|
spring.main.allow-bean-definition-overriding=true
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#Spring Session for Cluster configuration #
|
||||||
|
############################################################################
|
||||||
# Session store type.
|
# Session store type.
|
||||||
spring.session.store-type=none
|
spring.session.store-type=none
|
||||||
#spring.session.store-type=redis
|
#spring.session.store-type=redis
|
||||||
@ -82,7 +102,9 @@ spring.session.store-type=none
|
|||||||
# Namespace for keys used to store sessions.
|
# Namespace for keys used to store sessions.
|
||||||
#spring.session.redis.namespace=spring:session
|
#spring.session.redis.namespace=spring:session
|
||||||
|
|
||||||
###########\u3010Kafka\u96c6\u7fa4\u3011###########
|
############################################################################
|
||||||
|
#Kafka for connectors configuration #
|
||||||
|
############################################################################
|
||||||
spring.kafka.bootstrap-servers=localhost:9092
|
spring.kafka.bootstrap-servers=localhost:9092
|
||||||
###########\u3010\u521d\u59cb\u5316\u751f\u4ea7\u8005\u914d\u7f6e\u3011###########
|
###########\u3010\u521d\u59cb\u5316\u751f\u4ea7\u8005\u914d\u7f6e\u3011###########
|
||||||
# \u91cd\u8bd5\u6b21\u6570
|
# \u91cd\u8bd5\u6b21\u6570
|
||||||
@ -95,7 +117,6 @@ spring.kafka.producer.batch-size=16384
|
|||||||
spring.kafka.producer.properties.linger.ms=0
|
spring.kafka.producer.properties.linger.ms=0
|
||||||
# \u5f53\u751f\u4ea7\u7aef\u79ef\u7d2f\u7684\u6d88\u606f\u8fbe\u5230batch-size\u6216\u63a5\u6536\u5230\u6d88\u606flinger.ms\u540e,\u751f\u4ea7\u8005\u5c31\u4f1a\u5c06\u6d88\u606f\u63d0\u4ea4\u7ed9kafka
|
# \u5f53\u751f\u4ea7\u7aef\u79ef\u7d2f\u7684\u6d88\u606f\u8fbe\u5230batch-size\u6216\u63a5\u6536\u5230\u6d88\u606flinger.ms\u540e,\u751f\u4ea7\u8005\u5c31\u4f1a\u5c06\u6d88\u606f\u63d0\u4ea4\u7ed9kafka
|
||||||
# linger.ms\u4e3a0\u8868\u793a\u6bcf\u63a5\u6536\u5230\u4e00\u6761\u6d88\u606f\u5c31\u63d0\u4ea4\u7ed9kafka,\u8fd9\u65f6\u5019batch-size\u5176\u5b9e\u5c31\u6ca1\u7528\u4e86
|
# linger.ms\u4e3a0\u8868\u793a\u6bcf\u63a5\u6536\u5230\u4e00\u6761\u6d88\u606f\u5c31\u63d0\u4ea4\u7ed9kafka,\u8fd9\u65f6\u5019batch-size\u5176\u5b9e\u5c31\u6ca1\u7528\u4e86
|
||||||
|
|
||||||
# \u751f\u4ea7\u7aef\u7f13\u51b2\u533a\u5927\u5c0f
|
# \u751f\u4ea7\u7aef\u7f13\u51b2\u533a\u5927\u5c0f
|
||||||
spring.kafka.producer.buffer-memory = 33554432
|
spring.kafka.producer.buffer-memory = 33554432
|
||||||
# Kafka\u63d0\u4f9b\u7684\u5e8f\u5217\u5316\u548c\u53cd\u5e8f\u5217\u5316\u7c7b
|
# Kafka\u63d0\u4f9b\u7684\u5e8f\u5217\u5316\u548c\u53cd\u5e8f\u5217\u5316\u7c7b
|
||||||
@ -104,23 +125,19 @@ spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.Str
|
|||||||
# \u81ea\u5b9a\u4e49\u5206\u533a\u5668
|
# \u81ea\u5b9a\u4e49\u5206\u533a\u5668
|
||||||
# spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
# spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
||||||
|
|
||||||
#springfox.documentation.swagger.v2.path=/api-docs
|
############################################################################
|
||||||
#Swagger Configure Properties
|
#Management endpoints configuration #
|
||||||
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}
|
|
||||||
|
|
||||||
management.security.enabled=false
|
management.security.enabled=false
|
||||||
#management.endpoints.jmx.exposure.include=health,info
|
#management.endpoints.jmx.exposure.include=health,info
|
||||||
management.endpoints.web.exposure.include=metrics,health,info,env
|
management.endpoints.web.exposure.include=metrics,health,info,env
|
||||||
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# domain name configuration
|
#domain name configuration #
|
||||||
|
############################################################################
|
||||||
maxkey.server.scheme=http
|
maxkey.server.scheme=http
|
||||||
maxkey.server.basedomain=maxkey.top
|
maxkey.server.basedomain=maxkey.top
|
||||||
maxkey.server.domain=sso.${config.server.basedomain}
|
maxkey.server.domain=sso.${maxkey.server.basedomain}
|
||||||
maxkey.server.name=${maxkey.server.scheme}://${maxkey.server.domain}
|
maxkey.server.name=${maxkey.server.scheme}://${maxkey.server.domain}
|
||||||
maxkey.server.uri=${maxkey.server.name}/maxkey
|
maxkey.server.uri=${maxkey.server.name}/maxkey
|
||||||
#default.uri
|
#default.uri
|
||||||
@ -133,7 +150,8 @@ maxkey.identity.kafkasupport=false
|
|||||||
|
|
||||||
maxkey.app.issuer=CN=ConSec,CN=COM,CN=SH
|
maxkey.app.issuer=CN=ConSec,CN=COM,CN=SH
|
||||||
############################################################################
|
############################################################################
|
||||||
# Login configuration
|
#Login configuration #
|
||||||
|
############################################################################
|
||||||
#enable captcha
|
#enable captcha
|
||||||
maxkey.login.captcha=true
|
maxkey.login.captcha=true
|
||||||
#text or arithmetic
|
#text or arithmetic
|
||||||
@ -154,30 +172,35 @@ maxkey.login.wsfederation=false
|
|||||||
maxkey.login.remeberme=true
|
maxkey.login.remeberme=true
|
||||||
#validity
|
#validity
|
||||||
maxkey.login.remeberme.validity=0
|
maxkey.login.remeberme.validity=0
|
||||||
|
|
||||||
#to default application web site
|
#to default application web site
|
||||||
maxkey.login.default.uri=appList
|
maxkey.login.default.uri=appList
|
||||||
|
|
||||||
maxkey.ipaddress.whitelist=false
|
maxkey.ipaddress.whitelist=false
|
||||||
|
|
||||||
#SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud
|
############################################################################
|
||||||
|
#Kerberos Login configuration #
|
||||||
|
#SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud #
|
||||||
|
############################################################################
|
||||||
|
#default
|
||||||
maxkey.otp.sms=SmsOtpAuthnYunxin
|
maxkey.otp.sms=SmsOtpAuthnYunxin
|
||||||
|
#aliyun
|
||||||
maxkey.otp.sms.aliyun.accesskeyid=94395d754eb55693043f5d6a2b772ef4
|
maxkey.otp.sms.aliyun.accesskeyid=94395d754eb55693043f5d6a2b772ef4
|
||||||
maxkey.otp.sms.aliyun.accesssecret=05d5485357bc
|
maxkey.otp.sms.aliyun.accesssecret=05d5485357bc
|
||||||
maxkey.otp.sms.aliyun.templatecode=14860095
|
maxkey.otp.sms.aliyun.templatecode=14860095
|
||||||
maxkey.otp.sms.aliyun.signname=maxkey
|
maxkey.otp.sms.aliyun.signname=maxkey
|
||||||
|
#yunxin
|
||||||
maxkey.otp.sms.yunxin.appkey=94395d754eb55693043f5d6a2b772ef4
|
maxkey.otp.sms.yunxin.appkey=94395d754eb55693043f5d6a2b772ef4
|
||||||
maxkey.otp.sms.yunxin.appsecret=05d5485357bc
|
maxkey.otp.sms.yunxin.appsecret=05d5485357bc
|
||||||
maxkey.otp.sms.yunxin.templateid=14860095
|
maxkey.otp.sms.yunxin.templateid=14860095
|
||||||
|
#tencentcloud
|
||||||
maxkey.otp.sms.tencentcloud.secretid=94395d754eb55693043f5d6a2b772ef4
|
maxkey.otp.sms.tencentcloud.secretid=94395d754eb55693043f5d6a2b772ef4
|
||||||
maxkey.otp.sms.tencentcloud.secretkey=05d5485357bc
|
maxkey.otp.sms.tencentcloud.secretkey=05d5485357bc
|
||||||
maxkey.otp.sms.tencentcloud.smssdkappid=1486220095
|
maxkey.otp.sms.tencentcloud.smssdkappid=1486220095
|
||||||
maxkey.otp.sms.tencentcloud.templateid=14860095
|
maxkey.otp.sms.tencentcloud.templateid=14860095
|
||||||
maxkey.otp.sms.tencentcloud.sign=1486009522
|
maxkey.otp.sms.tencentcloud.sign=1486009522
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#Time-based One-Time Password configuration #
|
||||||
|
############################################################################
|
||||||
maxkey.otp.keyuri.format.type=totp
|
maxkey.otp.keyuri.format.type=totp
|
||||||
maxkey.otp.keyuri.format.digits=6
|
maxkey.otp.keyuri.format.digits=6
|
||||||
maxkey.otp.keyuri.format.issuer=MaxKey
|
maxkey.otp.keyuri.format.issuer=MaxKey
|
||||||
@ -185,9 +208,9 @@ maxkey.otp.keyuri.format.domain=${maxkey.server.domain}
|
|||||||
maxkey.otp.keyuri.format.period=30
|
maxkey.otp.keyuri.format.period=30
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# Kerberos Login configuration
|
#Kerberos Login configuration #
|
||||||
|
#short name of user domain must be in upper case,eg:MAXKEY #
|
||||||
############################################################################
|
############################################################################
|
||||||
#short name of user domain must be in upper case,eg:MAXKEY
|
|
||||||
maxkey.support.kerberos.default.userdomain=MAXKEY
|
maxkey.support.kerberos.default.userdomain=MAXKEY
|
||||||
#short name of user domain must be in upper case,eg:MAXKEY.ORG
|
#short name of user domain must be in upper case,eg:MAXKEY.ORG
|
||||||
maxkey.support.kerberos.default.fulluserdomain=MAXKEY.ORG
|
maxkey.support.kerberos.default.fulluserdomain=MAXKEY.ORG
|
||||||
@ -196,7 +219,7 @@ maxkey.support.kerberos.default.crypto=846KZSzYq56M6d5o
|
|||||||
#Kerberos Authentication server RUL
|
#Kerberos Authentication server RUL
|
||||||
maxkey.support.kerberos.default.redirecturi=http://sso.maxkey.top/kerberos/authn/
|
maxkey.support.kerberos.default.redirecturi=http://sso.maxkey.top/kerberos/authn/
|
||||||
############################################################################
|
############################################################################
|
||||||
# HTTPHEADER Login configuration
|
#HTTPHEADER Login configuration #
|
||||||
############################################################################
|
############################################################################
|
||||||
maxkey.support.httpheader.enable=false
|
maxkey.support.httpheader.enable=false
|
||||||
maxkey.support.httpheader.headername=header-user
|
maxkey.support.httpheader.headername=header-user
|
||||||
@ -204,12 +227,12 @@ maxkey.support.httpheader.headername=header-user
|
|||||||
#config.httpheader.headername=iv-user
|
#config.httpheader.headername=iv-user
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# BASIC Login support configuration
|
#BASIC Login support configuration #
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
maxkey.support.basic.enable=false
|
maxkey.support.basic.enable=false
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# LDAP Login support configuration
|
#LDAP Login support configuration #
|
||||||
############################################################################
|
############################################################################
|
||||||
maxkey.support.ldap.enable=false
|
maxkey.support.ldap.enable=false
|
||||||
maxkey.support.ldap.jit=false
|
maxkey.support.ldap.jit=false
|
||||||
@ -225,6 +248,7 @@ maxkey.support.ldap.truststore=maxkey
|
|||||||
maxkey.support.ldap.truststorepassword=maxkey
|
maxkey.support.ldap.truststorepassword=maxkey
|
||||||
#activedirectory effective
|
#activedirectory effective
|
||||||
maxkey.support.ldap.activedirectory.domain=MAXKEY.ORG
|
maxkey.support.ldap.activedirectory.domain=MAXKEY.ORG
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
#WsFederation Login support configuration
|
#WsFederation Login support configuration
|
||||||
#identifier: the identifer for the ADFS server
|
#identifier: the identifer for the ADFS server
|
||||||
@ -235,7 +259,6 @@ maxkey.support.ldap.activedirectory.domain=MAXKEY.ORG
|
|||||||
#attributeMutator: (optional) a class (defined by you) that can modify the attributes/assertions returned by the ADFS server
|
#attributeMutator: (optional) a class (defined by you) that can modify the attributes/assertions returned by the ADFS server
|
||||||
#signingCertificate: ADFS's signing certificate used to validate the token/assertions issued by ADFS.
|
#signingCertificate: ADFS's signing certificate used to validate the token/assertions issued by ADFS.
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
maxkey.support.wsfederation.identifier=http://adfs.maxkey.top/adfs/services/trust
|
maxkey.support.wsfederation.identifier=http://adfs.maxkey.top/adfs/services/trust
|
||||||
maxkey.support.wsfederation.url=https://adfs.maxkey.top/adfs/ls/
|
maxkey.support.wsfederation.url=https://adfs.maxkey.top/adfs/ls/
|
||||||
maxkey.support.wsfederation.principal=upn
|
maxkey.support.wsfederation.principal=upn
|
||||||
@ -244,25 +267,24 @@ maxkey.support.wsfederation.signingCertificate=adfs-signing.crt
|
|||||||
maxkey.support.wsfederation.tolerance=10000
|
maxkey.support.wsfederation.tolerance=10000
|
||||||
maxkey.support.wsfederation.upn.suffix=maxkey.org
|
maxkey.support.wsfederation.upn.suffix=maxkey.org
|
||||||
maxkey.support.wsfederation.logoutUrl=https://adfs.maxkey.top/adfs/ls/?wa=wsignout1.0
|
maxkey.support.wsfederation.logoutUrl=https://adfs.maxkey.top/adfs/ls/?wa=wsignout1.0
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# OIDC V1.0 METADATA configuration
|
#OIDC V1.0 METADATA configuration #
|
||||||
|
#############################################################################
|
||||||
maxkey.oidc.metadata.issuer=${maxkey.server.name}/maxkey
|
maxkey.oidc.metadata.issuer=${maxkey.server.name}/maxkey
|
||||||
maxkey.oidc.metadata.authorizationEndpoint=${maxkey.server.name}/maxkey/oauth/v20/authorize
|
maxkey.oidc.metadata.authorizationEndpoint=${maxkey.server.name}/maxkey/oauth/v20/authorize
|
||||||
maxkey.oidc.metadata.tokenEndpoint=${maxkey.server.name}/maxkey/oauth/v20/token
|
maxkey.oidc.metadata.tokenEndpoint=${maxkey.server.name}/maxkey/oauth/v20/token
|
||||||
maxkey.oidc.metadata.userinfoEndpoint=${maxkey.server.name}/maxkey/api/connect/userinfo
|
maxkey.oidc.metadata.userinfoEndpoint=${maxkey.server.name}/maxkey/api/connect/userinfo
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# SAML V2.0 configuration
|
#SAML V2.0 configuration #
|
||||||
|
#############################################################################
|
||||||
#saml common
|
#saml common
|
||||||
maxkey.saml.v20.max.parser.pool.size=2
|
maxkey.saml.v20.max.parser.pool.size=2
|
||||||
maxkey.saml.v20.assertion.validity.time.ins.seconds=90
|
maxkey.saml.v20.assertion.validity.time.ins.seconds=90
|
||||||
maxkey.saml.v20.replay.cache.life.in.millis=14400000
|
maxkey.saml.v20.replay.cache.life.in.millis=14400000
|
||||||
maxkey.saml.v20.issue.instant.check.clock.skew.in.seconds=90
|
maxkey.saml.v20.issue.instant.check.clock.skew.in.seconds=90
|
||||||
maxkey.saml.v20.issue.instant.check.validity.time.in.seconds=300
|
maxkey.saml.v20.issue.instant.check.validity.time.in.seconds=300
|
||||||
|
|
||||||
|
|
||||||
#saml idp keystore
|
#saml idp keystore
|
||||||
maxkey.saml.v20.idp.keystore.password=maxkey
|
maxkey.saml.v20.idp.keystore.password=maxkey
|
||||||
maxkey.saml.v20.idp.keystore.private.key.password=maxkey
|
maxkey.saml.v20.idp.keystore.private.key.password=maxkey
|
||||||
@ -270,15 +292,12 @@ maxkey.saml.v20.idp.keystore=classpath\:config/samlServerKeystore.jks
|
|||||||
#keystore id for sec
|
#keystore id for sec
|
||||||
maxkey.saml.v20.idp.issuing.entity.id=maxkey.top
|
maxkey.saml.v20.idp.issuing.entity.id=maxkey.top
|
||||||
maxkey.saml.v20.idp.issuer=https://sso.maxkey.top/maxkey/saml
|
maxkey.saml.v20.idp.issuer=https://sso.maxkey.top/maxkey/saml
|
||||||
|
|
||||||
maxkey.saml.v20.idp.receiver.endpoint=https\://sso.maxkey.top/
|
maxkey.saml.v20.idp.receiver.endpoint=https\://sso.maxkey.top/
|
||||||
|
|
||||||
#saml sp keystore
|
#saml sp keystore
|
||||||
maxkey.saml.v20.sp.keystore.password=maxkey
|
maxkey.saml.v20.sp.keystore.password=maxkey
|
||||||
maxkey.saml.v20.sp.keystore.private.key.password=maxkey
|
maxkey.saml.v20.sp.keystore.private.key.password=maxkey
|
||||||
maxkey.saml.v20.sp.keystore=classpath\:config/samlClientKeystore.jks
|
maxkey.saml.v20.sp.keystore=classpath\:config/samlClientKeystore.jks
|
||||||
maxkey.saml.v20.sp.issuing.entity.id=client.maxkey.org
|
maxkey.saml.v20.sp.issuing.entity.id=client.maxkey.org
|
||||||
|
|
||||||
#Saml v20 METADATA
|
#Saml v20 METADATA
|
||||||
maxkey.saml.v20.metadata.orgName=MaxKeyTop
|
maxkey.saml.v20.metadata.orgName=MaxKeyTop
|
||||||
maxkey.saml.v20.metadata.orgDisplayName=MaxKeyTop
|
maxkey.saml.v20.metadata.orgDisplayName=MaxKeyTop
|
||||||
@ -292,9 +311,7 @@ maxkey.saml.v20.metadata.telephoneNumber=4008981111
|
|||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# Social Sign On Configuration #
|
# Social Sign On Configuration #
|
||||||
#you config client.id & client.secret only
|
#you config client.id & client.secret only #
|
||||||
############################################################################
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
#gitee
|
#gitee
|
||||||
maxkey.socialsignon.gitee.provider=gitee
|
maxkey.socialsignon.gitee.provider=gitee
|
||||||
@ -312,7 +329,6 @@ maxkey.socialsignon.wechatopen.client.id=ee6fdc484b3398d17e7
|
|||||||
maxkey.socialsignon.wechatopen.client.secret=7a5faccdbad
|
maxkey.socialsignon.wechatopen.client.secret=7a5faccdbad
|
||||||
maxkey.socialsignon.wechatopen.account.id=id
|
maxkey.socialsignon.wechatopen.account.id=id
|
||||||
maxkey.socialsignon.wechatopen.sortorder=2
|
maxkey.socialsignon.wechatopen.sortorder=2
|
||||||
|
|
||||||
#sina weibo
|
#sina weibo
|
||||||
maxkey.socialsignon.sinaweibo.provider=sinaweibo
|
maxkey.socialsignon.sinaweibo.provider=sinaweibo
|
||||||
maxkey.socialsignon.sinaweibo.provider.name=\u65b0\u6d6a\u5fae\u535a
|
maxkey.socialsignon.sinaweibo.provider.name=\u65b0\u6d6a\u5fae\u535a
|
||||||
@ -321,7 +337,6 @@ maxkey.socialsignon.sinaweibo.client.id=3379757634
|
|||||||
maxkey.socialsignon.sinaweibo.client.secret=1adfdf9800299037bcab9d1c238664ba
|
maxkey.socialsignon.sinaweibo.client.secret=1adfdf9800299037bcab9d1c238664ba
|
||||||
maxkey.socialsignon.sinaweibo.account.id=id
|
maxkey.socialsignon.sinaweibo.account.id=id
|
||||||
maxkey.socialsignon.sinaweibo.sortorder=3
|
maxkey.socialsignon.sinaweibo.sortorder=3
|
||||||
|
|
||||||
#Google
|
#Google
|
||||||
maxkey.socialsignon.google.provider=google
|
maxkey.socialsignon.google.provider=google
|
||||||
maxkey.socialsignon.google.provider.name=Google
|
maxkey.socialsignon.google.provider.name=Google
|
||||||
@ -330,7 +345,6 @@ maxkey.socialsignon.google.client.id=519914515488.apps.googleusercontent.com
|
|||||||
maxkey.socialsignon.google.client.secret=3aTW3Iw7e11QqMnHxciCaXTt
|
maxkey.socialsignon.google.client.secret=3aTW3Iw7e11QqMnHxciCaXTt
|
||||||
maxkey.socialsignon.google.account.id=id
|
maxkey.socialsignon.google.account.id=id
|
||||||
maxkey.socialsignon.google.sortorder=4
|
maxkey.socialsignon.google.sortorder=4
|
||||||
|
|
||||||
#dingtalk
|
#dingtalk
|
||||||
maxkey.socialsignon.dingtalk.provider=dingtalk
|
maxkey.socialsignon.dingtalk.provider=dingtalk
|
||||||
maxkey.socialsignon.dingtalk.provider.name=dingtalk
|
maxkey.socialsignon.dingtalk.provider.name=dingtalk
|
||||||
@ -339,7 +353,6 @@ maxkey.socialsignon.dingtalk.client.id=dingoawf2jyiwh2uzqnphg
|
|||||||
maxkey.socialsignon.dingtalk.client.secret=Crm7YJbMKfRlvG2i1SHpg4GHVpqF_oXiEjhmRQyiSiuzNRWpbFh9i0UjDTfhOoN9
|
maxkey.socialsignon.dingtalk.client.secret=Crm7YJbMKfRlvG2i1SHpg4GHVpqF_oXiEjhmRQyiSiuzNRWpbFh9i0UjDTfhOoN9
|
||||||
maxkey.socialsignon.dingtalk.account.id=openid
|
maxkey.socialsignon.dingtalk.account.id=openid
|
||||||
maxkey.socialsignon.dingtalk.sortorder=5
|
maxkey.socialsignon.dingtalk.sortorder=5
|
||||||
|
|
||||||
#QQ
|
#QQ
|
||||||
maxkey.socialsignon.qq.provider=qq
|
maxkey.socialsignon.qq.provider=qq
|
||||||
maxkey.socialsignon.qq.provider.name=QQ
|
maxkey.socialsignon.qq.provider.name=QQ
|
||||||
@ -348,9 +361,6 @@ maxkey.socialsignon.qq.client.id=101225363
|
|||||||
maxkey.socialsignon.qq.client.secret=8577d75e0eb4a91ac549cc8be3371bfd
|
maxkey.socialsignon.qq.client.secret=8577d75e0eb4a91ac549cc8be3371bfd
|
||||||
maxkey.socialsignon.qq.account.id=openid
|
maxkey.socialsignon.qq.account.id=openid
|
||||||
maxkey.socialsignon.qq.sortorder=6
|
maxkey.socialsignon.qq.sortorder=6
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Microsoft
|
#Microsoft
|
||||||
maxkey.socialsignon.microsoft.provider=microsoft
|
maxkey.socialsignon.microsoft.provider=microsoft
|
||||||
maxkey.socialsignon.microsoft.provider.name=Microsoft
|
maxkey.socialsignon.microsoft.provider.name=Microsoft
|
||||||
@ -359,7 +369,6 @@ maxkey.socialsignon.microsoft.client.id=24aa73b6-7928-4e64-bd64-d8682e650f95
|
|||||||
maxkey.socialsignon.microsoft.client.secret=PF[_AthtjVrtWVO2mNy@CJxY1@Z8FNf5
|
maxkey.socialsignon.microsoft.client.secret=PF[_AthtjVrtWVO2mNy@CJxY1@Z8FNf5
|
||||||
maxkey.socialsignon.microsoft.account.id=id
|
maxkey.socialsignon.microsoft.account.id=id
|
||||||
maxkey.socialsignon.microsoft.sortorder=7
|
maxkey.socialsignon.microsoft.sortorder=7
|
||||||
|
|
||||||
#facebook
|
#facebook
|
||||||
maxkey.socialsignon.facebook.provider=facebook
|
maxkey.socialsignon.facebook.provider=facebook
|
||||||
maxkey.socialsignon.facebook.provider.name=facebook
|
maxkey.socialsignon.facebook.provider.name=facebook
|
||||||
@ -368,3 +377,12 @@ maxkey.socialsignon.facebook.client.id=appKey
|
|||||||
maxkey.socialsignon.facebook.client.secret=appSecret
|
maxkey.socialsignon.facebook.client.secret=appSecret
|
||||||
maxkey.socialsignon.facebook.account.id=id
|
maxkey.socialsignon.facebook.account.id=id
|
||||||
maxkey.socialsignon.facebook.sortorder=8
|
maxkey.socialsignon.facebook.sortorder=8
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#springfox.documentation.swagger.v2.path=/api-docs #
|
||||||
|
#Swagger Configure Properties #
|
||||||
|
############################################################################
|
||||||
|
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}
|
||||||
@ -1,31 +1,31 @@
|
|||||||
#spring.profiles.active=https
|
############################################################################
|
||||||
#application
|
#spring.profiles.active=http #
|
||||||
application.title=MaxKey
|
############################################################################
|
||||||
application.name=MaxKey
|
|
||||||
application.formatted-version=v2.7.0 GA
|
|
||||||
|
|
||||||
#server port
|
#server port
|
||||||
server.port=443
|
server.port=443
|
||||||
#session default 1800
|
#session default 1800
|
||||||
server.servlet.session.timeout=1800
|
server.servlet.session.timeout=1800
|
||||||
|
#web app context path
|
||||||
#ssl
|
server.servlet.context-path=/maxkey
|
||||||
|
spring.servlet.multipart.enabled=true
|
||||||
|
spring.servlet.multipart.max-file-size=4194304
|
||||||
|
############################################################################
|
||||||
|
#ssl configuration #
|
||||||
|
############################################################################
|
||||||
server.ssl.key-store=maxkeyserver.keystore
|
server.ssl.key-store=maxkeyserver.keystore
|
||||||
server.ssl.key-alias=maxkey
|
server.ssl.key-alias=maxkey
|
||||||
server.ssl.enabled=true
|
server.ssl.enabled=true
|
||||||
server.ssl.key-store-password=maxkey
|
server.ssl.key-store-password=maxkey
|
||||||
server.ssl.key-store-type=JKS
|
server.ssl.key-store-type=JKS
|
||||||
|
|
||||||
#web app context path
|
|
||||||
server.servlet.context-path=/maxkey
|
|
||||||
spring.servlet.multipart.enabled=true
|
|
||||||
spring.servlet.multipart.max-file-size=4194304
|
|
||||||
|
|
||||||
#encoding
|
#encoding
|
||||||
#server.servlet.encoding.charset=UTF-8
|
#server.servlet.encoding.charset=UTF-8
|
||||||
#server.servlet.encoding.enabled=true
|
#server.servlet.encoding.enabled=true
|
||||||
#server.servlet.encoding.force=true
|
#server.servlet.encoding.force=true
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#database configuration #
|
||||||
|
############################################################################
|
||||||
#datasource
|
#datasource
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=maxkey
|
spring.datasource.password=maxkey
|
||||||
@ -37,7 +37,9 @@ mybatis.type-aliases-package=org.maxkey.domain,org.maxkey.domain.apps,
|
|||||||
mybatis.mapper-locations=classpath*:/org/maxkey/persistence/mapper/xml/mysql/*.xml
|
mybatis.mapper-locations=classpath*:/org/maxkey/persistence/mapper/xml/mysql/*.xml
|
||||||
mybatis.table-column-escape=true
|
mybatis.table-column-escape=true
|
||||||
|
|
||||||
#redis
|
############################################################################
|
||||||
|
#redis server configuration #
|
||||||
|
############################################################################
|
||||||
#spring.redis.host=127.0.0.1
|
#spring.redis.host=127.0.0.1
|
||||||
#spring.redis.port=6379
|
#spring.redis.port=6379
|
||||||
#spring.redis.password=password
|
#spring.redis.password=password
|
||||||
@ -47,7 +49,9 @@ mybatis.table-column-escape=true
|
|||||||
#spring.redis.lettuce.pool.max-active=-1
|
#spring.redis.lettuce.pool.max-active=-1
|
||||||
#spring.redis.lettuce.pool.min-idle=0
|
#spring.redis.lettuce.pool.min-idle=0
|
||||||
|
|
||||||
#mail
|
############################################################################
|
||||||
|
#mail configuration #
|
||||||
|
############################################################################
|
||||||
#spring.mail.default-encoding=utf-8
|
#spring.mail.default-encoding=utf-8
|
||||||
#spring.mail.host=smtp.163.com
|
#spring.mail.host=smtp.163.com
|
||||||
#spring.mail.port=465
|
#spring.mail.port=465
|
||||||
@ -59,7 +63,9 @@ mybatis.table-column-escape=true
|
|||||||
spring.mail.properties.mailotp.message.subject=MaxKey One Time PassWord
|
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.template={0} You Token is {1} , it validity in {2} minutes.
|
||||||
|
|
||||||
#for freemarker
|
############################################################################
|
||||||
|
#freemarker configuration #
|
||||||
|
############################################################################
|
||||||
spring.freemarker.template-loader-path=classpath:/templates/views
|
spring.freemarker.template-loader-path=classpath:/templates/views
|
||||||
spring.freemarker.cache=false
|
spring.freemarker.cache=false
|
||||||
spring.freemarker.charset=UTF-8
|
spring.freemarker.charset=UTF-8
|
||||||
@ -70,15 +76,22 @@ spring.freemarker.expose-session-attributes=false
|
|||||||
spring.freemarker.request-context-attribute=request
|
spring.freemarker.request-context-attribute=request
|
||||||
spring.freemarker.suffix=.ftl
|
spring.freemarker.suffix=.ftl
|
||||||
|
|
||||||
#static resources
|
############################################################################
|
||||||
|
#static resources configuration #
|
||||||
|
############################################################################
|
||||||
spring.mvc.static-path-pattern=/static/**
|
spring.mvc.static-path-pattern=/static/**
|
||||||
spring.messages.basename=classpath:messages/message
|
spring.messages.basename=classpath:messages/message
|
||||||
spring.messages.encoding=UTF-8
|
spring.messages.encoding=UTF-8
|
||||||
|
|
||||||
#main
|
############################################################################
|
||||||
|
#Main.banner-mode configuration #
|
||||||
|
############################################################################
|
||||||
spring.main.banner-mode=log
|
spring.main.banner-mode=log
|
||||||
spring.main.allow-bean-definition-overriding=true
|
spring.main.allow-bean-definition-overriding=true
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#Spring Session for Cluster configuration #
|
||||||
|
############################################################################
|
||||||
# Session store type.
|
# Session store type.
|
||||||
spring.session.store-type=none
|
spring.session.store-type=none
|
||||||
#spring.session.store-type=redis
|
#spring.session.store-type=redis
|
||||||
@ -89,7 +102,9 @@ spring.session.store-type=none
|
|||||||
# Namespace for keys used to store sessions.
|
# Namespace for keys used to store sessions.
|
||||||
#spring.session.redis.namespace=spring:session
|
#spring.session.redis.namespace=spring:session
|
||||||
|
|
||||||
###########\u3010Kafka\u96c6\u7fa4\u3011###########
|
############################################################################
|
||||||
|
#Kafka for connectors configuration #
|
||||||
|
############################################################################
|
||||||
spring.kafka.bootstrap-servers=localhost:9092
|
spring.kafka.bootstrap-servers=localhost:9092
|
||||||
###########\u3010\u521d\u59cb\u5316\u751f\u4ea7\u8005\u914d\u7f6e\u3011###########
|
###########\u3010\u521d\u59cb\u5316\u751f\u4ea7\u8005\u914d\u7f6e\u3011###########
|
||||||
# \u91cd\u8bd5\u6b21\u6570
|
# \u91cd\u8bd5\u6b21\u6570
|
||||||
@ -102,7 +117,6 @@ spring.kafka.producer.batch-size=16384
|
|||||||
spring.kafka.producer.properties.linger.ms=0
|
spring.kafka.producer.properties.linger.ms=0
|
||||||
# \u5f53\u751f\u4ea7\u7aef\u79ef\u7d2f\u7684\u6d88\u606f\u8fbe\u5230batch-size\u6216\u63a5\u6536\u5230\u6d88\u606flinger.ms\u540e,\u751f\u4ea7\u8005\u5c31\u4f1a\u5c06\u6d88\u606f\u63d0\u4ea4\u7ed9kafka
|
# \u5f53\u751f\u4ea7\u7aef\u79ef\u7d2f\u7684\u6d88\u606f\u8fbe\u5230batch-size\u6216\u63a5\u6536\u5230\u6d88\u606flinger.ms\u540e,\u751f\u4ea7\u8005\u5c31\u4f1a\u5c06\u6d88\u606f\u63d0\u4ea4\u7ed9kafka
|
||||||
# linger.ms\u4e3a0\u8868\u793a\u6bcf\u63a5\u6536\u5230\u4e00\u6761\u6d88\u606f\u5c31\u63d0\u4ea4\u7ed9kafka,\u8fd9\u65f6\u5019batch-size\u5176\u5b9e\u5c31\u6ca1\u7528\u4e86
|
# linger.ms\u4e3a0\u8868\u793a\u6bcf\u63a5\u6536\u5230\u4e00\u6761\u6d88\u606f\u5c31\u63d0\u4ea4\u7ed9kafka,\u8fd9\u65f6\u5019batch-size\u5176\u5b9e\u5c31\u6ca1\u7528\u4e86
|
||||||
|
|
||||||
# \u751f\u4ea7\u7aef\u7f13\u51b2\u533a\u5927\u5c0f
|
# \u751f\u4ea7\u7aef\u7f13\u51b2\u533a\u5927\u5c0f
|
||||||
spring.kafka.producer.buffer-memory = 33554432
|
spring.kafka.producer.buffer-memory = 33554432
|
||||||
# Kafka\u63d0\u4f9b\u7684\u5e8f\u5217\u5316\u548c\u53cd\u5e8f\u5217\u5316\u7c7b
|
# Kafka\u63d0\u4f9b\u7684\u5e8f\u5217\u5316\u548c\u53cd\u5e8f\u5217\u5316\u7c7b
|
||||||
@ -111,20 +125,16 @@ spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.Str
|
|||||||
# \u81ea\u5b9a\u4e49\u5206\u533a\u5668
|
# \u81ea\u5b9a\u4e49\u5206\u533a\u5668
|
||||||
# spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
# spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
||||||
|
|
||||||
#springfox.documentation.swagger.v2.path=/api-docs
|
############################################################################
|
||||||
#Swagger Configure Properties
|
#Management endpoints configuration #
|
||||||
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}
|
|
||||||
|
|
||||||
management.security.enabled=false
|
management.security.enabled=false
|
||||||
#management.endpoints.jmx.exposure.include=health,info
|
#management.endpoints.jmx.exposure.include=health,info
|
||||||
management.endpoints.web.exposure.include=metrics,health,info,env
|
management.endpoints.web.exposure.include=metrics,health,info,env
|
||||||
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# domain name configuration
|
#domain name configuration #
|
||||||
|
############################################################################
|
||||||
maxkey.server.scheme=https
|
maxkey.server.scheme=https
|
||||||
maxkey.server.basedomain=maxkey.top
|
maxkey.server.basedomain=maxkey.top
|
||||||
maxkey.server.domain=sso.${maxkey.server.basedomain}
|
maxkey.server.domain=sso.${maxkey.server.basedomain}
|
||||||
@ -140,7 +150,8 @@ maxkey.identity.kafkasupport=false
|
|||||||
|
|
||||||
maxkey.app.issuer=CN=ConSec,CN=COM,CN=SH
|
maxkey.app.issuer=CN=ConSec,CN=COM,CN=SH
|
||||||
############################################################################
|
############################################################################
|
||||||
# Login configuration
|
#Login configuration #
|
||||||
|
############################################################################
|
||||||
#enable captcha
|
#enable captcha
|
||||||
maxkey.login.captcha=true
|
maxkey.login.captcha=true
|
||||||
#text or arithmetic
|
#text or arithmetic
|
||||||
@ -161,30 +172,35 @@ maxkey.login.wsfederation=false
|
|||||||
maxkey.login.remeberme=true
|
maxkey.login.remeberme=true
|
||||||
#validity
|
#validity
|
||||||
maxkey.login.remeberme.validity=0
|
maxkey.login.remeberme.validity=0
|
||||||
|
|
||||||
#to default application web site
|
#to default application web site
|
||||||
maxkey.login.default.uri=appList
|
maxkey.login.default.uri=appList
|
||||||
|
|
||||||
maxkey.ipaddress.whitelist=false
|
maxkey.ipaddress.whitelist=false
|
||||||
|
|
||||||
#SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud
|
############################################################################
|
||||||
|
#Kerberos Login configuration #
|
||||||
|
#SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud #
|
||||||
|
############################################################################
|
||||||
|
#default
|
||||||
maxkey.otp.sms=SmsOtpAuthnYunxin
|
maxkey.otp.sms=SmsOtpAuthnYunxin
|
||||||
|
#aliyun
|
||||||
maxkey.otp.sms.aliyun.accesskeyid=94395d754eb55693043f5d6a2b772ef4
|
maxkey.otp.sms.aliyun.accesskeyid=94395d754eb55693043f5d6a2b772ef4
|
||||||
maxkey.otp.sms.aliyun.accesssecret=05d5485357bc
|
maxkey.otp.sms.aliyun.accesssecret=05d5485357bc
|
||||||
maxkey.otp.sms.aliyun.templatecode=14860095
|
maxkey.otp.sms.aliyun.templatecode=14860095
|
||||||
maxkey.otp.sms.aliyun.signname=maxkey
|
maxkey.otp.sms.aliyun.signname=maxkey
|
||||||
|
#yunxin
|
||||||
maxkey.otp.sms.yunxin.appkey=94395d754eb55693043f5d6a2b772ef4
|
maxkey.otp.sms.yunxin.appkey=94395d754eb55693043f5d6a2b772ef4
|
||||||
maxkey.otp.sms.yunxin.appsecret=05d5485357bc
|
maxkey.otp.sms.yunxin.appsecret=05d5485357bc
|
||||||
maxkey.otp.sms.yunxin.templateid=14860095
|
maxkey.otp.sms.yunxin.templateid=14860095
|
||||||
|
#tencentcloud
|
||||||
maxkey.otp.sms.tencentcloud.secretid=94395d754eb55693043f5d6a2b772ef4
|
maxkey.otp.sms.tencentcloud.secretid=94395d754eb55693043f5d6a2b772ef4
|
||||||
maxkey.otp.sms.tencentcloud.secretkey=05d5485357bc
|
maxkey.otp.sms.tencentcloud.secretkey=05d5485357bc
|
||||||
maxkey.otp.sms.tencentcloud.smssdkappid=1486220095
|
maxkey.otp.sms.tencentcloud.smssdkappid=1486220095
|
||||||
maxkey.otp.sms.tencentcloud.templateid=14860095
|
maxkey.otp.sms.tencentcloud.templateid=14860095
|
||||||
maxkey.otp.sms.tencentcloud.sign=1486009522
|
maxkey.otp.sms.tencentcloud.sign=1486009522
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#Time-based One-Time Password configuration #
|
||||||
|
############################################################################
|
||||||
maxkey.otp.keyuri.format.type=totp
|
maxkey.otp.keyuri.format.type=totp
|
||||||
maxkey.otp.keyuri.format.digits=6
|
maxkey.otp.keyuri.format.digits=6
|
||||||
maxkey.otp.keyuri.format.issuer=MaxKey
|
maxkey.otp.keyuri.format.issuer=MaxKey
|
||||||
@ -192,9 +208,9 @@ maxkey.otp.keyuri.format.domain=${maxkey.server.domain}
|
|||||||
maxkey.otp.keyuri.format.period=30
|
maxkey.otp.keyuri.format.period=30
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# Kerberos Login configuration
|
#Kerberos Login configuration #
|
||||||
|
#short name of user domain must be in upper case,eg:MAXKEY #
|
||||||
############################################################################
|
############################################################################
|
||||||
#short name of user domain must be in upper case,eg:MAXKEY
|
|
||||||
maxkey.support.kerberos.default.userdomain=MAXKEY
|
maxkey.support.kerberos.default.userdomain=MAXKEY
|
||||||
#short name of user domain must be in upper case,eg:MAXKEY.ORG
|
#short name of user domain must be in upper case,eg:MAXKEY.ORG
|
||||||
maxkey.support.kerberos.default.fulluserdomain=MAXKEY.ORG
|
maxkey.support.kerberos.default.fulluserdomain=MAXKEY.ORG
|
||||||
@ -203,7 +219,7 @@ maxkey.support.kerberos.default.crypto=846KZSzYq56M6d5o
|
|||||||
#Kerberos Authentication server RUL
|
#Kerberos Authentication server RUL
|
||||||
maxkey.support.kerberos.default.redirecturi=http://sso.maxkey.top/kerberos/authn/
|
maxkey.support.kerberos.default.redirecturi=http://sso.maxkey.top/kerberos/authn/
|
||||||
############################################################################
|
############################################################################
|
||||||
# HTTPHEADER Login configuration
|
#HTTPHEADER Login configuration #
|
||||||
############################################################################
|
############################################################################
|
||||||
maxkey.support.httpheader.enable=false
|
maxkey.support.httpheader.enable=false
|
||||||
maxkey.support.httpheader.headername=header-user
|
maxkey.support.httpheader.headername=header-user
|
||||||
@ -211,14 +227,13 @@ maxkey.support.httpheader.headername=header-user
|
|||||||
#config.httpheader.headername=iv-user
|
#config.httpheader.headername=iv-user
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# BASIC Login support configuration
|
#BASIC Login support configuration #
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
maxkey.support.basic.enable=false
|
maxkey.support.basic.enable=false
|
||||||
############################################################################
|
|
||||||
# LDAP Login support configuration
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#LDAP Login support configuration #
|
||||||
|
############################################################################
|
||||||
maxkey.support.ldap.enable=false
|
maxkey.support.ldap.enable=false
|
||||||
maxkey.support.ldap.jit=false
|
maxkey.support.ldap.jit=false
|
||||||
#openldap,activedirectory,normal
|
#openldap,activedirectory,normal
|
||||||
@ -244,7 +259,6 @@ maxkey.support.ldap.activedirectory.domain=MAXKEY.ORG
|
|||||||
#attributeMutator: (optional) a class (defined by you) that can modify the attributes/assertions returned by the ADFS server
|
#attributeMutator: (optional) a class (defined by you) that can modify the attributes/assertions returned by the ADFS server
|
||||||
#signingCertificate: ADFS's signing certificate used to validate the token/assertions issued by ADFS.
|
#signingCertificate: ADFS's signing certificate used to validate the token/assertions issued by ADFS.
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
maxkey.support.wsfederation.identifier=http://adfs.maxkey.top/adfs/services/trust
|
maxkey.support.wsfederation.identifier=http://adfs.maxkey.top/adfs/services/trust
|
||||||
maxkey.support.wsfederation.url=https://adfs.maxkey.top/adfs/ls/
|
maxkey.support.wsfederation.url=https://adfs.maxkey.top/adfs/ls/
|
||||||
maxkey.support.wsfederation.principal=upn
|
maxkey.support.wsfederation.principal=upn
|
||||||
@ -253,25 +267,24 @@ maxkey.support.wsfederation.signingCertificate=adfs-signing.crt
|
|||||||
maxkey.support.wsfederation.tolerance=10000
|
maxkey.support.wsfederation.tolerance=10000
|
||||||
maxkey.support.wsfederation.upn.suffix=maxkey.org
|
maxkey.support.wsfederation.upn.suffix=maxkey.org
|
||||||
maxkey.support.wsfederation.logoutUrl=https://adfs.maxkey.top/adfs/ls/?wa=wsignout1.0
|
maxkey.support.wsfederation.logoutUrl=https://adfs.maxkey.top/adfs/ls/?wa=wsignout1.0
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# OIDC V1.0 METADATA configuration
|
#OIDC V1.0 METADATA configuration #
|
||||||
|
#############################################################################
|
||||||
maxkey.oidc.metadata.issuer=${maxkey.server.name}/maxkey
|
maxkey.oidc.metadata.issuer=${maxkey.server.name}/maxkey
|
||||||
maxkey.oidc.metadata.authorizationEndpoint=${maxkey.server.name}/maxkey/oauth/v20/authorize
|
maxkey.oidc.metadata.authorizationEndpoint=${maxkey.server.name}/maxkey/oauth/v20/authorize
|
||||||
maxkey.oidc.metadata.tokenEndpoint=${maxkey.server.name}/maxkey/oauth/v20/token
|
maxkey.oidc.metadata.tokenEndpoint=${maxkey.server.name}/maxkey/oauth/v20/token
|
||||||
maxkey.oidc.metadata.userinfoEndpoint=${maxkey.server.name}/maxkey/api/connect/userinfo
|
maxkey.oidc.metadata.userinfoEndpoint=${maxkey.server.name}/maxkey/api/connect/userinfo
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# SAML V2.0 configuration
|
#SAML V2.0 configuration #
|
||||||
|
#############################################################################
|
||||||
#saml common
|
#saml common
|
||||||
maxkey.saml.v20.max.parser.pool.size=2
|
maxkey.saml.v20.max.parser.pool.size=2
|
||||||
maxkey.saml.v20.assertion.validity.time.ins.seconds=90
|
maxkey.saml.v20.assertion.validity.time.ins.seconds=90
|
||||||
maxkey.saml.v20.replay.cache.life.in.millis=14400000
|
maxkey.saml.v20.replay.cache.life.in.millis=14400000
|
||||||
maxkey.saml.v20.issue.instant.check.clock.skew.in.seconds=90
|
maxkey.saml.v20.issue.instant.check.clock.skew.in.seconds=90
|
||||||
maxkey.saml.v20.issue.instant.check.validity.time.in.seconds=300
|
maxkey.saml.v20.issue.instant.check.validity.time.in.seconds=300
|
||||||
|
|
||||||
|
|
||||||
#saml idp keystore
|
#saml idp keystore
|
||||||
maxkey.saml.v20.idp.keystore.password=maxkey
|
maxkey.saml.v20.idp.keystore.password=maxkey
|
||||||
maxkey.saml.v20.idp.keystore.private.key.password=maxkey
|
maxkey.saml.v20.idp.keystore.private.key.password=maxkey
|
||||||
@ -279,15 +292,12 @@ maxkey.saml.v20.idp.keystore=classpath\:config/samlServerKeystore.jks
|
|||||||
#keystore id for sec
|
#keystore id for sec
|
||||||
maxkey.saml.v20.idp.issuing.entity.id=maxkey.top
|
maxkey.saml.v20.idp.issuing.entity.id=maxkey.top
|
||||||
maxkey.saml.v20.idp.issuer=https://sso.maxkey.top/maxkey/saml
|
maxkey.saml.v20.idp.issuer=https://sso.maxkey.top/maxkey/saml
|
||||||
|
|
||||||
maxkey.saml.v20.idp.receiver.endpoint=https\://sso.maxkey.top/
|
maxkey.saml.v20.idp.receiver.endpoint=https\://sso.maxkey.top/
|
||||||
|
|
||||||
#saml sp keystore
|
#saml sp keystore
|
||||||
maxkey.saml.v20.sp.keystore.password=maxkey
|
maxkey.saml.v20.sp.keystore.password=maxkey
|
||||||
maxkey.saml.v20.sp.keystore.private.key.password=maxkey
|
maxkey.saml.v20.sp.keystore.private.key.password=maxkey
|
||||||
maxkey.saml.v20.sp.keystore=classpath\:config/samlClientKeystore.jks
|
maxkey.saml.v20.sp.keystore=classpath\:config/samlClientKeystore.jks
|
||||||
maxkey.saml.v20.sp.issuing.entity.id=client.maxkey.org
|
maxkey.saml.v20.sp.issuing.entity.id=client.maxkey.org
|
||||||
|
|
||||||
#Saml v20 METADATA
|
#Saml v20 METADATA
|
||||||
maxkey.saml.v20.metadata.orgName=MaxKeyTop
|
maxkey.saml.v20.metadata.orgName=MaxKeyTop
|
||||||
maxkey.saml.v20.metadata.orgDisplayName=MaxKeyTop
|
maxkey.saml.v20.metadata.orgDisplayName=MaxKeyTop
|
||||||
@ -301,9 +311,7 @@ maxkey.saml.v20.metadata.telephoneNumber=4008981111
|
|||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# Social Sign On Configuration #
|
# Social Sign On Configuration #
|
||||||
#you config client.id & client.secret only
|
#you config client.id & client.secret only #
|
||||||
############################################################################
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
#gitee
|
#gitee
|
||||||
maxkey.socialsignon.gitee.provider=gitee
|
maxkey.socialsignon.gitee.provider=gitee
|
||||||
@ -321,7 +329,6 @@ maxkey.socialsignon.wechatopen.client.id=ee6fdc484b3398d17e7
|
|||||||
maxkey.socialsignon.wechatopen.client.secret=7a5faccdbad
|
maxkey.socialsignon.wechatopen.client.secret=7a5faccdbad
|
||||||
maxkey.socialsignon.wechatopen.account.id=id
|
maxkey.socialsignon.wechatopen.account.id=id
|
||||||
maxkey.socialsignon.wechatopen.sortorder=2
|
maxkey.socialsignon.wechatopen.sortorder=2
|
||||||
|
|
||||||
#sina weibo
|
#sina weibo
|
||||||
maxkey.socialsignon.sinaweibo.provider=sinaweibo
|
maxkey.socialsignon.sinaweibo.provider=sinaweibo
|
||||||
maxkey.socialsignon.sinaweibo.provider.name=\u65b0\u6d6a\u5fae\u535a
|
maxkey.socialsignon.sinaweibo.provider.name=\u65b0\u6d6a\u5fae\u535a
|
||||||
@ -330,7 +337,6 @@ maxkey.socialsignon.sinaweibo.client.id=3379757634
|
|||||||
maxkey.socialsignon.sinaweibo.client.secret=1adfdf9800299037bcab9d1c238664ba
|
maxkey.socialsignon.sinaweibo.client.secret=1adfdf9800299037bcab9d1c238664ba
|
||||||
maxkey.socialsignon.sinaweibo.account.id=id
|
maxkey.socialsignon.sinaweibo.account.id=id
|
||||||
maxkey.socialsignon.sinaweibo.sortorder=3
|
maxkey.socialsignon.sinaweibo.sortorder=3
|
||||||
|
|
||||||
#Google
|
#Google
|
||||||
maxkey.socialsignon.google.provider=google
|
maxkey.socialsignon.google.provider=google
|
||||||
maxkey.socialsignon.google.provider.name=Google
|
maxkey.socialsignon.google.provider.name=Google
|
||||||
@ -339,7 +345,6 @@ maxkey.socialsignon.google.client.id=519914515488.apps.googleusercontent.com
|
|||||||
maxkey.socialsignon.google.client.secret=3aTW3Iw7e11QqMnHxciCaXTt
|
maxkey.socialsignon.google.client.secret=3aTW3Iw7e11QqMnHxciCaXTt
|
||||||
maxkey.socialsignon.google.account.id=id
|
maxkey.socialsignon.google.account.id=id
|
||||||
maxkey.socialsignon.google.sortorder=4
|
maxkey.socialsignon.google.sortorder=4
|
||||||
|
|
||||||
#dingtalk
|
#dingtalk
|
||||||
maxkey.socialsignon.dingtalk.provider=dingtalk
|
maxkey.socialsignon.dingtalk.provider=dingtalk
|
||||||
maxkey.socialsignon.dingtalk.provider.name=dingtalk
|
maxkey.socialsignon.dingtalk.provider.name=dingtalk
|
||||||
@ -348,7 +353,6 @@ maxkey.socialsignon.dingtalk.client.id=dingoawf2jyiwh2uzqnphg
|
|||||||
maxkey.socialsignon.dingtalk.client.secret=Crm7YJbMKfRlvG2i1SHpg4GHVpqF_oXiEjhmRQyiSiuzNRWpbFh9i0UjDTfhOoN9
|
maxkey.socialsignon.dingtalk.client.secret=Crm7YJbMKfRlvG2i1SHpg4GHVpqF_oXiEjhmRQyiSiuzNRWpbFh9i0UjDTfhOoN9
|
||||||
maxkey.socialsignon.dingtalk.account.id=openid
|
maxkey.socialsignon.dingtalk.account.id=openid
|
||||||
maxkey.socialsignon.dingtalk.sortorder=5
|
maxkey.socialsignon.dingtalk.sortorder=5
|
||||||
|
|
||||||
#QQ
|
#QQ
|
||||||
maxkey.socialsignon.qq.provider=qq
|
maxkey.socialsignon.qq.provider=qq
|
||||||
maxkey.socialsignon.qq.provider.name=QQ
|
maxkey.socialsignon.qq.provider.name=QQ
|
||||||
@ -357,9 +361,6 @@ maxkey.socialsignon.qq.client.id=101225363
|
|||||||
maxkey.socialsignon.qq.client.secret=8577d75e0eb4a91ac549cc8be3371bfd
|
maxkey.socialsignon.qq.client.secret=8577d75e0eb4a91ac549cc8be3371bfd
|
||||||
maxkey.socialsignon.qq.account.id=openid
|
maxkey.socialsignon.qq.account.id=openid
|
||||||
maxkey.socialsignon.qq.sortorder=6
|
maxkey.socialsignon.qq.sortorder=6
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Microsoft
|
#Microsoft
|
||||||
maxkey.socialsignon.microsoft.provider=microsoft
|
maxkey.socialsignon.microsoft.provider=microsoft
|
||||||
maxkey.socialsignon.microsoft.provider.name=Microsoft
|
maxkey.socialsignon.microsoft.provider.name=Microsoft
|
||||||
@ -368,7 +369,6 @@ maxkey.socialsignon.microsoft.client.id=24aa73b6-7928-4e64-bd64-d8682e650f95
|
|||||||
maxkey.socialsignon.microsoft.client.secret=PF[_AthtjVrtWVO2mNy@CJxY1@Z8FNf5
|
maxkey.socialsignon.microsoft.client.secret=PF[_AthtjVrtWVO2mNy@CJxY1@Z8FNf5
|
||||||
maxkey.socialsignon.microsoft.account.id=id
|
maxkey.socialsignon.microsoft.account.id=id
|
||||||
maxkey.socialsignon.microsoft.sortorder=7
|
maxkey.socialsignon.microsoft.sortorder=7
|
||||||
|
|
||||||
#facebook
|
#facebook
|
||||||
maxkey.socialsignon.facebook.provider=facebook
|
maxkey.socialsignon.facebook.provider=facebook
|
||||||
maxkey.socialsignon.facebook.provider.name=facebook
|
maxkey.socialsignon.facebook.provider.name=facebook
|
||||||
@ -377,3 +377,12 @@ maxkey.socialsignon.facebook.client.id=appKey
|
|||||||
maxkey.socialsignon.facebook.client.secret=appSecret
|
maxkey.socialsignon.facebook.client.secret=appSecret
|
||||||
maxkey.socialsignon.facebook.account.id=id
|
maxkey.socialsignon.facebook.account.id=id
|
||||||
maxkey.socialsignon.facebook.sortorder=8
|
maxkey.socialsignon.facebook.sortorder=8
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#springfox.documentation.swagger.v2.path=/api-docs #
|
||||||
|
#Swagger Configure Properties #
|
||||||
|
############################################################################
|
||||||
|
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}
|
||||||
@ -1,7 +1,13 @@
|
|||||||
#application
|
############################################################################
|
||||||
|
#MaxKey Title and Version #
|
||||||
|
############################################################################
|
||||||
application.title=MaxKey
|
application.title=MaxKey
|
||||||
application.name=MaxKey
|
application.name=MaxKey
|
||||||
application.formatted-version=v2.7.0 GA
|
application.formatted-version=v2.7.0 GA
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
#spring.profiles.active https/http; default https #
|
||||||
|
############################################################################
|
||||||
spring.profiles.active=https
|
spring.profiles.active=https
|
||||||
#spring.profiles.active=http
|
#spring.profiles.active=http
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user