-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
_auth_cas.erb
67 lines (66 loc) · 1.86 KB
/
_auth_cas.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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 -%>