.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "Apache2::AuthCASSimple 3pm" .TH Apache2::AuthCASSimple 3pm "2009-05-10" "perl v5.20.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Apache2::AuthCASSimple \- Apache2 module to authentificate through a CAS server .SH "DESCRIPTION" .IX Header "DESCRIPTION" Apache2::AuthCASSimple is an authentication module for Apache2/mod_perl2. It allow you to authentificate users through a Yale \s-1CAS\s0 server. It means you don't need to give login/password if you've already be authentificate by the \s-1CAS\s0 server, only tickets are exchanged between Web client, Apache2 server and \s-1CAS\s0 server. If you not're authentificate yet, you'll be redirect on the \s-1CAS\s0 server login form. .PP This module allow the use of simple text files for sessions. .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& PerlOptions +GlobalRequest \& \& \& AuthType Apache2::AuthCASSimple \& PerlAuthenHandler Apache2::AuthCASSimple \& \& PerlSetVar CASServerName my.casserver.com \& PerlSetVar CASServerPath / \& # PerlSetVar CASServerPort 443 \& # PerlSetVar CASServerNoSSL 1 \& PerlSetVar CASSessionTimeout 3660 \& PerlSetVar CASSessionDirectory /tmp \& # PerlSetVar CASFixDirectory / \& # PerlSetVar ModProxy 1 \& # PerlSetVar HTTPSServer 1 \& \& require valid\-user \& .Ve .PP or .PP .Vb 2 \& order deny,allow \& deny from all \& \& require user xxx yyyy \& \& satisfy any .Ve .SH "CONFIGURATION" .IX Header "CONFIGURATION" .IP "CASServerName" 4 .IX Item "CASServerName" Name of the \s-1CAS\s0 server. It can be a numeric \s-1IP\s0 address. .IP "CASServerPort" 4 .IX Item "CASServerPort" Port of the \s-1CAS\s0 server. Default is 443. .IP "CASServerPath" 4 .IX Item "CASServerPath" Path (\s-1URI\s0) of the \s-1CAS\s0 server. Default is \*(L"/cas\*(R". .IP "CASServerNoSSL" 4 .IX Item "CASServerNoSSL" Disable \s-1SSL\s0 transaction wih \s-1CAS\s0 server (\s-1HTTPS\s0). Default is off. .IP "CASCaFile" 4 .IX Item "CASCaFile" \&\s-1CAS\s0 server public key. This file is used to allow secure connection between the webserver using Apache2::AuthCASSimple and the \s-1CAS\s0 server. .Sp \&\s-1DEPRECATED : \s0Authen::CAS::Client use LWP::UserAgent to make https requests .IP "CASSessionTimeout" 4 .IX Item "CASSessionTimeout" Timeout (in second) for session create by Apache2::AuthCASSimple (to avoid \s-1CAS\s0 server overloading). Default is 60. .Sp \&\-1 means disable. .Sp 0 mean infinite (until the user close browser). .IP "CASSessionDirectory" 4 .IX Item "CASSessionDirectory" Directory where session data are stored. Default is /tmp. .IP "CASFixDirectory" 4 .IX Item "CASFixDirectory" Force the path of the session cookie for same policy in all subdirectories else current directory is used. .IP "ModProxy" 4 .IX Item "ModProxy" Apache2 mod_perl2 don't be use with mod_proxy. Default is off. .IP "HTTPSServer" 4 .IX Item "HTTPSServer" If you want to keep a \s-1HTTPS\s0 server for all data. Default is 0. .IP "\s-1OK AUTH_REQUIRED DECLINED REDIRECT SERVER_ERROR M_GET\s0" 4 .IX Item "OK AUTH_REQUIRED DECLINED REDIRECT SERVER_ERROR M_GET" Apache constants to make pod coverage happy .SH "METHOD" .IX Header "METHOD" .SS "handler" .IX Subsection "handler" call by apache2 .SH "VERSION" .IX Header "VERSION" This documentation describes Apache2::AuthCASSimple version 0.10 .SH "BUGS AND TROUBLESHOOTING" .IX Header "BUGS AND TROUBLESHOOTING" .IP "\(bu" 4 Old expired sessions files must be deleted with an example provided script : \f(CW\*(C`delete_session_data.pl\*(C'\fR .IP "\(bu" 4 Apache::Session::Wrapper certainly need Apache2::Cookie .IP "\(bu" 4 \&\f(CW$r\fR must be global for sessions with Apache::Session::Wrapper, add .Sp .Vb 1 \& PerlOptions +GlobalRequest .Ve .Sp in your virtualhost conf .IP "\(bu" 4 Apreq module must be enable in debian .Sp .Vb 1 \& a2enmod apreq .Ve .Sp or add .Sp .Vb 1 \& LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so .Ve .Sp in your apache configuration file .PP Please submit any bug reports to agostini@univ\-metz.fr. .SH "NOTES" .IX Header "NOTES" Requires \f(CW\*(C`mod_perl 2\*(C'\fR version 2.02 or later Requires Authen::CAS::Client Requires Apache::Session::Wrapper .SH "AUTHOR" .IX Header "AUTHOR" .Vb 5 \& Yves Agostini \& CPAN ID: YVESAGO \& Univ Metz \& agostini@univ\-metz.fr \& http://www.crium.univ\-metz.fr .Ve .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (c) 2009 by Yves Agostini .PP This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. .PP The full text of the license can be found in the \&\s-1LICENSE\s0 file included with this module.