Apache::AuthCASSimple - Apache module to authentificate trough a CAS server
Apache::AuthCASSimple is a module for Apache/mod_perl. It allow you to authentificate users trough a 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, Apache server and CAS server. If you not're authentificate yet, you'll be redirect on the CAS server login form.
<Location /protected> AuthType Apache::AuthCASSimple PerlAuthenHandler Apache::AuthCASSimple CASServerName my.casserver.com CASServerPath / #CASServerPort 443 # CASServerNoSSL CASSessionTimeout 60 CASSessionDirectory /tmp # CASFixDirectory / # NOModProxy require valid-user </Location>
or require user xxx yyyy
Name of the CAS server. It can be a numeric IP address.
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 Apache::AuthCASSimple and the CAS server.
DEPRECATED : Authen::CAS::Client use LWP::UserAgent to make https requests
Timeout (in second) for session create by Apache::AuthCASSimple (to avoid CAS server overloading). Default is -1.
-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.
Apache mod_perl don't be use with mod_proxy. Default is off.
used by apache
set defaults values
access deafault values
This documentation describes Apache::AuthCASSimple version 0.0.4
Old expired sessions files must be deleted with an external provided script : delete_session_data.pl
delete_session_data.pl
Please submit any bug reports to agostini@univ-metz.fr.
Requires mod_perl 1 version 1.29 or later Requires Authen::CAS::Client Requires Apache::Session::Wrapper
mod_perl 1
Yves Agostini CPAN ID: YVESAGO Univ Metz agostini@univ-metz.fr http://www.crium.univ-metz.fr Anthony Hinsinger
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.
To install Apache::AuthCASSimple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::AuthCASSimple
CPAN shell
perl -MCPAN -e shell install Apache::AuthCASSimple
For more information on module installation, please visit the detailed CPAN module installation guide.