mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
d3d2b289d4
- add pkg-message PR: ports/168710 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
======================================================================
|
|
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://wiki.jasig.org/display/CASC/mod_auth_cas
|
|
======================================================================
|