maxkey.properties 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ############################################################################
  2. # MaxKey Management
  3. ############################################################################
  4. # domain name configuration
  5. config.server.basedomain=maxkey.top
  6. config.server.domain=sso.${config.server.basedomain}
  7. config.server.name=http://${config.server.domain}
  8. config.server.uri=${config.server.name}:9521/maxkey-mgt
  9. #default.uri
  10. config.server.default.uri=${config.server.uri}/main
  11. config.maxkey.uri=https://${config.server.domain}/maxkey
  12. #InMemory 0 , Redis 2
  13. config.server.persistence=0
  14. #identity
  15. config.identity.kafkasupport=false
  16. ############################################################################
  17. # Login configuration
  18. #enable captcha
  19. config.login.captcha=true
  20. #text or arithmetic
  21. config.login.captcha.type=text
  22. #enable two factor,use one time password
  23. config.login.mfa=false
  24. #enable social sign on
  25. config.login.socialsignon=false
  26. #Enable kerberos/SPNEGO
  27. config.login.kerberos=false
  28. #wsFederation
  29. config.login.wsfederation=false
  30. #remeberme
  31. config.login.remeberme=false
  32. #validity
  33. config.login.remeberme.validity=0
  34. #default.uri
  35. #to appList page
  36. config.login.default.uri=appList
  37. config.ipaddress.whitelist=false
  38. ############################################################################
  39. # SAML V2.0 configuration
  40. # saml common
  41. config.saml.v20.max.parser.pool.size=2
  42. config.saml.v20.assertion.validity.time.ins.seconds=90
  43. config.saml.v20.replay.cache.life.in.millis=14400000
  44. config.saml.v20.issue.instant.check.clock.skew.in.seconds=90
  45. config.saml.v20.issue.instant.check.validity.time.in.seconds=300
  46. #saml idp keystore
  47. config.saml.v20.idp.keystore.password=maxkey
  48. config.saml.v20.idp.keystore.private.key.password=maxkey
  49. config.saml.v20.idp.keystore=classpath\:config/samlServerKeystore.jks
  50. #keystore id for sec
  51. config.saml.v20.idp.issuing.entity.id=maxkey.top
  52. config.saml.v20.idp.issuer=https://sso.maxkey.top/maxkey/saml
  53. config.saml.v20.idp.receiver.endpoint=https\://sso.maxkey.top/
  54. #saml sp keystore
  55. config.saml.v20.sp.keystore.password=maxkey
  56. config.saml.v20.sp.keystore.private.key.password=maxkey
  57. config.saml.v20.sp.keystore=classpath\:config/samlClientKeystore.jks
  58. config.saml.v20.sp.issuing.entity.id=client.maxkey.org
  59. ############################################################################
  60. config.oidc.metadata.issuer=https://${config.server.domain}/maxkey
  61. config.oidc.metadata.authorizationEndpoint=${config.server.name}/maxkey/oauth/v20/authorize
  62. config.oidc.metadata.tokenEndpoint=${config.server.name}/maxkey/oauth/v20/token
  63. config.oidc.metadata.userinfoEndpoint=${config.server.name}/maxkey/api/connect/userinfo
  64. #############################################################################