NAME
Apache::AuthCASSimple - Apache module to authentificate trough a CAS server
DESCRIPTION
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.
SYNOPSIS
<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
CONFIGURATION
- CASServerName
-
Name of the CAS server. It can be a numeric IP address.
- CASServerPort Port of the CAS server. Default is 443.
- CASServerPath
-
Path (URI) of the CAS server. Default is "/cas".
- CASServerNoSSL
-
Disable SSL transaction wih CAS server (HTTPS). Default is off.
- CASCaFile
-
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
- CASSessionTimeout
-
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).
- CASSessionDirectory
-
Directory where session data are stored. Default is /tmp.
- CASFixDirectory
-
Force the path of the session cookie for same policy in all subdirectories else current directory is used.
- NOModProxy
-
Apache mod_perl don't be use with mod_proxy. Default is off.
METHODS
handler
used by apache
DIR_CREATE
set defaults values
DIR_MERGE
access deafault values
VERSION
This documentation describes Apache::AuthCASSimple version 0.0.4
BUGS AND TROUBLESHOOTING
Old expired sessions files must be deleted with an external provided script :
delete_session_data.pl
Please submit any bug reports to agostini@univ-metz.fr.
NOTES
Requires mod_perl 1
version 1.29 or later Requires Authen::CAS::Client Requires Apache::Session::Wrapper
AUTHORS
Yves Agostini
CPAN ID: YVESAGO
Univ Metz
agostini@univ-metz.fr
http://www.crium.univ-metz.fr
Anthony Hinsinger
COPYRIGHT
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.