aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_cas/pkg-message
blob: 7b7fceb700f881c350931486dd582afb3442becf (plain) (blame)
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
======================================================================
 Set a few required parameters in your Apache configuration:

 CASCookiePath   /var/cache/apache2/mod_auth_cas/
 CASLoginURL     https://login.example.org/cas/login
 CASValidateURL  https://login.example.org/cas/serviceValidate

 Protect a "Location" or "Directory" block in your Apache configuration:

 <Location /secured>
   Authtype CAS
   require valid-user
 </Location>

 If SAML-delivered attribute authorization is also desired, use the
 samlValidate URL, enable SAML validation, and specify cas-attribute
 in your require rule (please note: both attribute name and value are
 case-sensitive):

 CASCookiePath /var/cache/apache2/mod_auth_cas/
 CASLoginURL https://login.example.org/cas/login
 CASValidateURL https://login.example.org/cas/samlValidate
 CASValidateSAML On

 <Location /secured>
   Authtype CAS
   require cas-attribute edupersonaffiliation:staff
 </Location>

 For more informations see:
 https://github.com/Jasig/mod_auth_cas
======================================================================