application.properties 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. ##
  2. # CAS Server Context Configuration
  3. #
  4. server.context-path=/cas
  5. server.port=8443
  6. server.ssl.key-store=file:/etc/cas/thekeystore
  7. server.ssl.key-store-password=changeit
  8. server.ssl.key-password=changeit
  9. server.max-http-header-size=2097152
  10. server.use-forward-headers=true
  11. server.connection-timeout=20000
  12. server.error.include-stacktrace=ALWAYS
  13. server.compression.enabled=true
  14. server.compression.mime-types=application/javascript,application/json,application/xml,text/html,text/xml,text/plain
  15. server.tomcat.max-http-post-size=2097152
  16. server.tomcat.basedir=build/tomcat
  17. server.tomcat.accesslog.enabled=true
  18. server.tomcat.accesslog.pattern=%t %a "%r" %s (%D ms)
  19. server.tomcat.accesslog.suffix=.log
  20. server.tomcat.min-spare-threads=10
  21. server.tomcat.max-threads=200
  22. server.tomcat.port-header=X-Forwarded-Port
  23. server.tomcat.protocol-header=X-Forwarded-Proto
  24. server.tomcat.protocol-header-https-value=https
  25. server.tomcat.remote-ip-header=X-FORWARDED-FOR
  26. server.tomcat.uri-encoding=UTF-8
  27. spring.http.encoding.charset=UTF-8
  28. spring.http.encoding.enabled=true
  29. spring.http.encoding.force=true
  30. ##
  31. # CAS Cloud Bus Configuration
  32. #
  33. spring.cloud.bus.enabled=false
  34. # Indicates that systemPropertiesOverride can be used.
  35. # Set to false to prevent users from changing the default accidentally. Default true.
  36. spring.cloud.config.allow-override=true
  37. # External properties should override system properties.
  38. spring.cloud.config.override-system-properties=false
  39. # When allowOverride is true, external properties should take lowest priority, and not override any
  40. # existing property sources (including local config files).
  41. spring.cloud.config.override-none=false
  42. # spring.cloud.bus.refresh.enabled=true
  43. # spring.cloud.bus.env.enabled=true
  44. # spring.cloud.bus.destination=CasCloudBus
  45. # spring.cloud.bus.ack.enabled=true
  46. endpoints.enabled=false
  47. endpoints.sensitive=true
  48. endpoints.restart.enabled=false
  49. endpoints.shutdown.enabled=false
  50. # Control the security of the management/actuator endpoints
  51. # The 'enabled' flag below here controls the rendering of details for the health endpoint amongst other things.
  52. management.security.enabled=true
  53. management.security.roles=ACTUATOR,ADMIN
  54. management.security.sessions=if_required
  55. management.context-path=/status
  56. management.add-application-context-header=false
  57. # Define a CAS-specific "WARN" status code and its order
  58. management.health.status.order=WARN, DOWN, OUT_OF_SERVICE, UNKNOWN, UP
  59. # Control the security of the management/actuator endpoints
  60. # With basic authentication, assuming Spring Security and/or relevant modules are on the classpath.
  61. security.basic.authorize-mode=role
  62. security.basic.path=/cas/status/**
  63. # security.basic.enabled=true
  64. # security.user.name=casuser
  65. # security.user.password=
  66. ##
  67. # CAS Web Application Session Configuration
  68. #
  69. server.session.timeout=300
  70. server.session.cookie.http-only=true
  71. server.session.tracking-modes=COOKIE
  72. ##
  73. # CAS Thymeleaf View Configuration
  74. #
  75. spring.thymeleaf.encoding=UTF-8
  76. spring.thymeleaf.cache=true
  77. spring.thymeleaf.mode=HTML
  78. spring.thymeleaf.template-resolver-order=100
  79. ##
  80. # CAS Log4j Configuration
  81. #
  82. # logging.config=file:/etc/cas/log4j2.xml
  83. server.context-parameters.isLog4jAutoInitializationDisabled=true
  84. ##
  85. # CAS AspectJ Configuration
  86. #
  87. spring.aop.auto=true
  88. spring.aop.proxy-target-class=true
  89. ##
  90. # CAS Authentication Credentials
  91. #
  92. cas.authn.accept.users=casuser::Mellon