forked from puppetlabs/puppetlabs-apache
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support the newer mod_auth_cas config options
mod_auth_cas supports a number of per-directory options https://github.com/Jasig/mod_auth_cas/blob/master/README#L333-384 A number of the options aren't supported in directory stanzas despite what the documentation suggests. The options are supported globally and in vhost configurations, so they're supported there accordingly. https://github.com/Jasig/mod_auth_cas/blob/master/README#L386-413
- Loading branch information
Showing
6 changed files
with
186 additions
and
15 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
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<% if @cas_enabled -%> | ||
|
||
# mod_auth_cas configuration | ||
<%- if @cas_cookie_path -%> | ||
CASCookiePath <%= @cas_cookie_path %> | ||
<%- end -%> | ||
<%- if @cas_login_url -%> | ||
CASLoginURL <%= @cas_login_url %> | ||
<%- end -%> | ||
<%- if @cas_validate_url -%> | ||
CASValidateURL <%= @cas_validate_url %> | ||
<%- end -%> | ||
<%- if @cas_version -%> | ||
CASVersion <%= @cas_version %> | ||
<%- end -%> | ||
<%- if @cas_debug -%> | ||
CASDebug <%= @cas_debug %> | ||
<%- end -%> | ||
<%- if @cas_certificate_path -%> | ||
CASCertificatePath <%= @cas_certificate_path %> | ||
<%- end -%> | ||
<%- if @cas_proxy_validate_url -%> | ||
CASProxyValidateURL <%= @cas_proxy_validate_url %> | ||
<%- end -%> | ||
<%- if @cas_validate_depth -%> | ||
CASValidateDepth <%= @cas_validate_depth %> | ||
<%- end -%> | ||
<%- if @cas_root_proxied_as -%> | ||
CASRootProxiedAs <%= @cas_root_proxied_as %> | ||
<%- end -%> | ||
<%- if @cas_cookie_entropy -%> | ||
CASCookieEntropy <%= @cas_cookie_entropy %> | ||
<%- end -%> | ||
<%- if @cas_timeout -%> | ||
CASTimeout <%= @cas_timeout %> | ||
<%- end -%> | ||
<%- if @cas_idle_timeout -%> | ||
CASIdleTimeout <%= @cas_idle_timeout %> | ||
<%- end -%> | ||
<%- if @cas_cache_clean_interval -%> | ||
CASCacheCleanInterval <%= @cas_cache_clean_interval %> | ||
<%- end -%> | ||
<%- if @cas_cookie_domain -%> | ||
CASCookieDomain <%= @cas_cookie_domain %> | ||
<%- end -%> | ||
<%- if @cas_cookie_http_only -%> | ||
CASCookieHttpOnly <%= @cas_cookie_http_only %> | ||
<%- end -%> | ||
<%- if @cas_authoritative -%> | ||
CASAuthoritative <%= @cas_authoritative %> | ||
<%- end -%> | ||
<%- if @cas_sso_enabled -%> | ||
CASSSOEnabled On | ||
<%- end -%> | ||
<%- if @cas_validate_saml -%> | ||
CASValidateSAML On | ||
<%- end -%> | ||
<%- if @cas_attribute_prefix -%> | ||
CASAttributePrefix <%= @cas_attribute_prefix %> | ||
<%- end -%> | ||
<%- if @cas_attribute_delimiter -%> | ||
CASAttributeDelimiter <%= @cas_attribute_delimiter %> | ||
<%- end -%> | ||
<%- if @cas_scrub_request_headers -%> | ||
CASAttributeDelimiter On | ||
<%- end -%> | ||
<%- end -%> |
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