| Apache2::AuthCASSimple - Apache2 module to authentificate trough a CAS server |
Apache2::AuthCASSimple - Apache2 module to authentificate trough a CAS server
Apache2::AuthCASSimple is an authentication module for Apache2/mod_perl2. It allow you to authentificate users trough a Yale CAS server. It means you don't need to give login/password if you've already be authentificate by the CAS server, only tickets are exchanged between Web client, Apache2 server and CAS server. If you not're authentificate yet, you'll be redirect on the CAS server login form.
This module allow the use of simple text files for sessions.
<Location /protected>
AuthType Apache2::AuthCASSimple
PerlAuthenHandler Apache2::AuthCASSimple
PerlSetVar CASServerName my.casserver.com
PerlSetVar CASServerPath /
# PerlSetVar CASServerPort 443
# PerlSetVar CASServerNoSSL 1
PerlSetVar CASSessionTimeout 60
PerlSetVar CASSessionDirectory /tmp
# PerlSetVar CASFixDirectory /
# PerlSetVar ModProxy 1
require valid-user
</Location>
or
order deny,allow deny from all
require user xxx yyyy
satisfy any
Name of the CAS server. It can be a numeric IP address.
Port of the CAS server. Default is 443.
Path (URI) of the CAS server. Default is "/cas".
Disable SSL transaction wih CAS server (HTTPS). Default is off.
CAS server public key. This file is used to allow secure connection between the webserver using Apache2::AuthCASSimple and the CAS server.
DEPRECATED : the Authen::CAS::Client manpage use the LWP::UserAgent manpage to make https requests
Timeout (in second) for session create by Apache2::AuthCASSimple (to avoid CAS server overloading). Default is 60.
-1 means disable.
0 mean infinite (until the user close browser).
Directory where session data are stored. Default is /tmp.
Force the path of the session cookie for same policy in all subdirectories else current directory is used.
Apache2 mod_perl2 don't be use with mod_proxy. Default is off.
call by apache2
This documentation describes Apache2::AuthCASSimple version 0.0.1
delete_session_data.pl
$r must be global for sessions with the Apache::Session::Wrapper manpage, add
PerlOptions +GlobalRequest
in your virtualhost conf
LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so
Please submit any bug reports to agostini@univ-metz.fr.
Requires mod_perl 2 version 2.02 or later
Requires the Authen::CAS::Client manpage
Requires the Apache::Session::Wrapper manpage
Yves Agostini
CPAN ID: YVESAGO
Univ Metz
agostini@univ-metz.fr
http://www.crium.univ-metz.fr
Copyright (c) 2008 by Yves Agostini
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
| Apache2::AuthCASSimple - Apache2 module to authentificate trough a CAS server |