cas.properties 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #
  2. # Licensed to Jasig under one or more contributor license
  3. # agreements. See the NOTICE file distributed with this work
  4. # for additional information regarding copyright ownership.
  5. # Jasig licenses this file to you under the Apache License,
  6. # Version 2.0 (the "License"); you may not use this file
  7. # except in compliance with the License. You may obtain a
  8. # copy of the License at the following location:
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing,
  13. # software distributed under the License is distributed on an
  14. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. # KIND, either express or implied. See the License for the
  16. # specific language governing permissions and limitations
  17. # under the License.
  18. #
  19. ##
  20. # Services Management Web UI Security
  21. server.name=http://localhost:8080
  22. server.prefix=${server.name}/cas
  23. cas.securityContext.serviceProperties.service=${server.prefix}/services/j_acegi_cas_security_check
  24. # Names of roles allowed to access the CAS service manager
  25. cas.securityContext.serviceProperties.adminRoles=ROLE_ADMIN
  26. cas.securityContext.casProcessingFilterEntryPoint.loginUrl=${server.prefix}/login
  27. cas.securityContext.ticketValidator.casServerUrlPrefix=${server.prefix}
  28. # IP address or CIDR subnet allowed to access the /status URI of CAS that exposes health check information
  29. cas.securityContext.status.allowedSubnet=127.0.0.1
  30. cas.themeResolver.defaultThemeName=cas-theme-default
  31. cas.viewResolver.basename=default_views
  32. ##
  33. # Unique CAS node name
  34. # host.name is used to generate unique Service Ticket IDs and SAMLArtifacts. This is usually set to the specific
  35. # hostname of the machine running the CAS node, but it could be any label so long as it is unique in the cluster.
  36. host.name=cas01.example.org
  37. ##
  38. # Database flavors for Hibernate
  39. #
  40. # One of these is needed if you are storing Services or Tickets in an RDBMS via JPA.
  41. #
  42. # database.hibernate.dialect=org.hibernate.dialect.OracleDialect
  43. # database.hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
  44. # database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
  45. ##
  46. # CAS Logout Behavior
  47. # WEB-INF/cas-servlet.xml
  48. #
  49. # Specify whether CAS should redirect to the specifyed service parameter on /logout requests
  50. # cas.logout.followServiceRedirects=false
  51. ##
  52. # Single Sign-On Session Timeouts
  53. # Defaults sourced from WEB-INF/spring-configuration/ticketExpirationPolices.xml
  54. #
  55. # Maximum session timeout - TGT will expire in maxTimeToLiveInSeconds regardless of usage
  56. # tgt.maxTimeToLiveInSeconds=28800
  57. #
  58. # Idle session timeout - TGT will expire sooner than maxTimeToLiveInSeconds if no further requests
  59. # for STs occur within timeToKillInSeconds
  60. # tgt.timeToKillInSeconds=7200
  61. ##
  62. # Service Ticket Timeout
  63. # Default sourced from WEB-INF/spring-configuration/ticketExpirationPolices.xml
  64. #
  65. # Service Ticket timeout - typically kept short as a control against replay attacks, default is 10s. You'll want to
  66. # increase this timeout if you are manually testing service ticket creation/validation via tamperdata or similar tools
  67. # st.timeToKillInSeconds=10
  68. ##
  69. # Single Logout Out Callbacks
  70. # Default sourced from WEB-INF/spring-configuration/argumentExtractorsConfiguration.xml
  71. #
  72. # To turn off all back channel SLO requests set slo.disabled to true
  73. # slo.callbacks.disabled=false
  74. ##
  75. # Service Registry Periodic Reloading Scheduler
  76. # Default sourced from WEB-INF/spring-configuration/applicationContext.xml
  77. #
  78. # Force a startup delay of 2 minutes.
  79. # service.registry.quartz.reloader.startDelay=120000
  80. #
  81. # Reload services every 2 minutes
  82. # service.registry.quartz.reloader.repeatInterval=120000
  83. ##
  84. # Log4j
  85. # Default sourced from WEB-INF/spring-configuration/log4jConfiguration.xml:
  86. #
  87. # It is often time helpful to externalize log4j.xml to a system path to preserve settings between upgrades.
  88. # e.g. log4j.config.location=/etc/cas/log4j.xml
  89. # log4j.config.location=classpath:log4j.xml
  90. #
  91. # log4j refresh interval in millis
  92. # log4j.refresh.interval=60000