8ae0e72
# Configuration for mod_auth_cas
8ae0e72
#
8ae0e72
# For more information please visit
8ae0e72
#
8ae0e72
#    https://github.com/Jasig/mod_auth_cas
8ae0e72
#
8ae0e72
# Or reference /usr/share/doc/mod_auth_cas*/README
8ae0e72
#
8ae0e72
8ae0e72
CASCookiePath /var/cache/httpd/mod_auth_cas/
8ae0e72
CASLoginURL https://login.example.org/cas/login
8ae0e72
CASValidateURL https://login.example.org/cas/serviceValidate
8ae0e72
8ae0e72
#Protect a "Location" or "Directory" block in your Apache
8ae0e72
#  configuration:
8ae0e72
#
8ae0e72
#       <Location /secured>
8ae0e72
#               Authtype CAS
8ae0e72
#               require valid-user
8ae0e72
#       </Location>
8ae0e72
8ae0e72
#If SAML-delivered attribute authorization is also desired, use the
8ae0e72
#  samlValidate URL, enable SAML validation, and specify cas-attribute
8ae0e72
#  in your require rule (please note: both attribute name and value are
8ae0e72
#  case-sensitive):
8ae0e72
#
8ae0e72
#    CASValidateSAML On
8ae0e72
#
8ae0e72
#    <Location /secured>
8ae0e72
#               Authtype CAS
8ae0e72
#        require cas-attribute edupersonaffiliation:staff
8ae0e72
#     </Location>