applicationLogin.properties 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. ############################################################################
  2. # MaxKey
  3. ############################################################################
  4. # Login configuration
  5. #enable captcha
  6. config.login.captcha=true
  7. #enable two factor,use one time password
  8. config.login.onetimepwd=true
  9. #enable social sign on
  10. config.login.socialsignon=true
  11. #Enable kerberos/SPNEGO
  12. config.login.kerberos=true
  13. #wsFederation
  14. config.login.wsfederation=false
  15. #remeberme
  16. config.login.remeberme=true
  17. #validity
  18. config.login.remeberme.validity=
  19. #to default application web site
  20. config.login.default.uri=appList
  21. config.ipaddress.whitelist=false
  22. ############################################################################
  23. # Kerberos Login configuration
  24. ############################################################################
  25. #short name of user domain must be in upper case,eg:CONNSEC
  26. config.support.kerberos.default.userdomain=CONNSEC
  27. #short name of user domain must be in upper case,eg:CONNSEC.COM
  28. config.support.kerberos.default.fulluserdomain=CONNSEC.COM
  29. #last 8Bit crypto for Kerberos web Authentication
  30. config.support.kerberos.default.crypto=846KZSzYq56M6d5o
  31. #Kerberos Authentication server RUL
  32. config.support.kerberos.default.redirecturi=http://sso.maxkey.org/kerberos/authn/
  33. ############################################################################
  34. # HTTPHEADER Login configuration
  35. ############################################################################
  36. config.support.httpheader.enable=false
  37. config.support.httpheader.headername=header-user
  38. # iv-user is for IBM Security Access Manager
  39. #config.httpheader.headername=iv-user
  40. ############################################################################
  41. # BASIC Login support configuration
  42. ############################################################################
  43. config.support.basic.enable=false
  44. #############################################################################
  45. # WsFederation Login support configuration
  46. #identifier: the identifer for the ADFS server
  47. #url: the login url for ADFS
  48. #principal: the name of the attribute/assertion returned by ADFS that contains the principal's username.
  49. #relyingParty: the identifier of the CAS Server as it has been configured in ADFS.
  50. #tolerance: (optional) the amount of drift to allow when validating the timestamp on the token. Default: 10000 (ms)
  51. #attributeMutator: (optional) a class (defined by you) that can modify the attributes/assertions returned by the ADFS server
  52. #signingCertificate: ADFS's signing certificate used to validate the token/assertions issued by ADFS.
  53. ############################################################################
  54. config.support.wsfederation.identifier=http://adfs.connsec.com/adfs/services/trust
  55. config.support.wsfederation.url=https://adfs.connsec.com/adfs/ls/
  56. config.support.wsfederation.principal=upn
  57. config.support.wsfederation.relyingParty=urn:federation:connsec
  58. config.support.wsfederation.signingCertificate=adfs-signing.crt
  59. config.support.wsfederation.tolerance=10000
  60. config.support.wsfederation.upn.suffix=connsec.com
  61. config.support.wsfederation.logoutUrl=https://adfs.connsec.com/adfs/ls/?wa=wsignout1.0
  62. #############################################################################
  63. #############################################################################
  64. config.oidc.metadata.issuer=http://${config.server.name}/maxkey
  65. config.oidc.metadata.authorizationEndpoint=http://${config.server.name}/maxkey/oauth/v20/authorize
  66. config.oidc.metadata.tokenEndpoint=http://${config.server.name}/maxkey/oauth/v20/token
  67. config.oidc.metadata.userinfoEndpoint=http://${config.server.name}/maxkey/api/connect/userinfo
  68. #############################################################################
  69. ############################################################################
  70. # Social Sign On Configuration #
  71. #you config client.id & client.secret only
  72. ############################################################################
  73. ############################################################################
  74. #sina weibo
  75. config.socialsignon.sinaweibo.provider=sinaweibo
  76. config.socialsignon.sinaweibo.provider.name=\u65B0\u6D6A\u5FAE\u535A
  77. config.socialsignon.sinaweibo.icon=images/social/sinaweibo.png
  78. config.socialsignon.sinaweibo.client.id=3379757634
  79. config.socialsignon.sinaweibo.client.secret=1adfdf9800299037bcab9d1c238664ba
  80. config.socialsignon.sinaweibo.account.id=id
  81. config.socialsignon.sinaweibo.sortorder=1
  82. #Google
  83. config.socialsignon.google.provider=google
  84. config.socialsignon.google.provider.name=Google
  85. config.socialsignon.google.icon=images/social/google.png
  86. config.socialsignon.google.client.id=519914515488.apps.googleusercontent.com
  87. config.socialsignon.google.client.secret=3aTW3Iw7e11QqMnHxciCaXTt
  88. config.socialsignon.google.account.id=id
  89. config.socialsignon.google.sortorder=2
  90. #QQ
  91. config.socialsignon.qq.provider=qq
  92. config.socialsignon.qq.provider.name=QQ
  93. config.socialsignon.qq.icon=images/social/qq.png
  94. config.socialsignon.qq.client.id=101224990
  95. config.socialsignon.qq.client.secret=09d7481b68d888f01831e3ef7c1c3015
  96. config.socialsignon.qq.account.id=openid
  97. config.socialsignon.qq.sortorder=4
  98. #dingtalk
  99. config.socialsignon.dingtalk.provider=dingtalk
  100. config.socialsignon.dingtalk.provider.name=dingtalk
  101. config.socialsignon.dingtalk.icon=images/social/dingtalk.png
  102. config.socialsignon.dingtalk.client.id=dingoawf2jyiwh2uzqnphg
  103. config.socialsignon.dingtalk.client.secret=Crm7YJbMKfRlvG2i1SHpg4GHVpqF_oXiEjhmRQyiSiuzNRWpbFh9i0UjDTfhOoN9
  104. config.socialsignon.dingtalk.account.id=openid
  105. config.socialsignon.dingtalk.sortorder=4
  106. #Microsoft
  107. config.socialsignon.microsoft.provider=microsoft
  108. config.socialsignon.microsoft.provider.name=Microsoft
  109. config.socialsignon.microsoft.icon=images/social/live.png
  110. config.socialsignon.microsoft.client.id=24aa73b6-7928-4e64-bd64-d8682e650f95
  111. config.socialsignon.microsoft.client.secret=PF[_AthtjVrtWVO2mNy@CJxY1@Z8FNf5
  112. config.socialsignon.microsoft.account.id=id
  113. config.socialsignon.microsoft.sortorder=5
  114. #facebook
  115. config.socialsignon.facebook.provider=facebook
  116. config.socialsignon.facebook.provider.name=facebook
  117. config.socialsignon.facebook.icon=images/social/facebook.png
  118. config.socialsignon.facebook.client.id=appKey
  119. config.socialsignon.facebook.client.secret=appSecret
  120. config.socialsignon.facebook.account.id=id
  121. config.socialsignon.facebook.sortorder=7