-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV-527: Make all CAS variables configurable via the environment with…
… default values set by init script
- Loading branch information
1 parent
316f961
commit 53a49c2
Showing
4 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
<IfModule auth_cas_module> | ||
CASVersion 2 | ||
CASDebug Off | ||
CASVersion ${CAS_VERSION} | ||
CASDebug ${CAS_DEBUG} | ||
CASLoginURL ${CAS_LOGIN_URL} | ||
CASValidateURL ${CAS_VALIDATE_URL} | ||
CASProxyValidateURL ${CAS_PROXY_VALIDATE_URL} | ||
CASTimeout 7200 | ||
CASIdleTimeout 3600 | ||
CASCacheCleanInterval 1800 | ||
CASCookiePath /var/cache/httpd/mod_auth_cas/ | ||
CASCookieEntropy 32 | ||
|
||
# You must set CAS_ROOT_PROXIED_AS in the environment | ||
CASTimeout ${CAS_TIMEOUT} | ||
CASIdleTimeout ${CAS_IDLE_TIMEOUT} | ||
CASCacheCleanInterval ${CAS_CACHE_CLEAN_INTERVAL} | ||
CASCookieEntropy ${CAS_COOKIE_ENTROPY} | ||
CASRootProxiedAs ${CAS_ROOT_PROXIED_AS} | ||
CASCookiePath ${CAS_COOKIE_PATH} | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# For option definitions: | ||
# @see https://github.com/apereo/mod_auth_cas | ||
|
||
export CAS_CACHE_CLEAN_INTERVAL="${CAS_CACHE_CLEAN_INTERVAL:-1800}" | ||
export CAS_COOKIE_ENTROPY="${CAS_COOKIE_ENTROPY:-32}" | ||
export CAS_COOKIE_PATH="${CAS_COOKIE_PATH:-/var/cache/httpd/mod_auth_cas/}" | ||
export CAS_DEBUG="${CAS_DEBUG:-off}" | ||
export CAS_IDLE_TIMEOUT="${CAS_IDLE_TIMEOUT:-3600}" | ||
export CAS_LOGIN_URL="${CAS_LOGIN_URL:-https://auth.berkeley.edu/cas/}" | ||
export CAS_PROXY_VALIDATE_URL="${CAS_PROXY_VALIDATE_URL:-https://auth.berkeley.edu/cas/proxyValidate}" | ||
export CAS_ROOT_PROXIED_AS="${CAS_ROOT_PROXIED_AS:-http://localhost}" | ||
export CAS_TIMEOUT="${CAS_TIMEOUT:-7200}" | ||
export CAS_VALIDATE_URL="${CAS_VALIDATE_URL:-https://auth.berkeley.edu/cas/serviceValidate}" | ||
export CAS_VERSION="${CAS_VERSION:-2}" |