AuthCAS(3pm)


NAME

   AuthCAS - Client library for CAS 2.0 authentication server

VERSION

   Version 1.5

DESCRIPTION

   AuthCAS aims at providing a Perl API to Yale's Central Authentication
   System (CAS). Only a basic Perl library is provided with CAS whereas
   AuthCAS is a full object-oriented library.  =head1 PREREQUISITES

   This script requires IO::Socket::SSL and LWP::UserAgent

   any

   Network

SYNOPSIS

     A simple example with a direct CAS authentication

     use AuthCAS;
     my $cas = new AuthCAS(casUrl => 'https://cas.myserver,
                       CAFile => '/etc/httpd/conf/ssl.crt/ca-bundle.crt',
                       );

     my $login_url = $cas->getServerLoginURL('http://myserver/app.cgi');

     ## The user should be redirected to the $login_url
     ## When coming back from the CAS server a ticket is provided in the QUERY_STRING

     ## $ST should contain the receaved Service Ticket
     my $user = $cas->validateST('http://myserver/app.cgi', $ST);

     printf "User authenticated as %s\n", $user;

     In the following example a proxy is requesting a Proxy Ticket for the target application

     $cas->proxyMode(pgtFile => '/tmp/pgt.txt',
                     pgtCallbackUrl => 'https://myserver/proxy.cgi?callback=1
                     );

     ## Same as before but the URL is the proxy URL
     my $login_url = $cas->getServerLoginURL('http://myserver/proxy.cgi');

     ## Like in the previous example we should receave a $ST

     my $user = $cas->validateST('http://myserver/proxy.cgi', $ST);

     ## Process errors
     printf STDERR "Error: %s\n", &AuthCAS::get_errors() unless (defined $user);

     ## Now we request a Proxy Ticket for the target application
     my $PT = $cas->retrievePT('http://myserver/app.cgi');

     ## This piece of code is executed by the target application
     ## It received a Proxy Ticket from the proxy
     my ($user, @proxies) = $cas->validatePT('http://myserver/app.cgi', $PT);

     printf "User authenticated as %s via %s proxies\n", $user, join(',',@proxies);

DESCRIPTION

   CAS is Yale University's web authentication system, heavily inspired by
   Kerberos.  Release 2.0 of CAS provides "proxied credential" feature
   that allows authentication tickets to be carried by intermediate
   applications (Portals for instance), they are called proxy.

   This AuthCAS Perl module provides required subroutines to validate and
   retrieve CAS tickets.

SEE ALSO

   Yale Central Authentication Service (http://www.yale.edu/tp/auth/)
    phpCAS (http://esup-phpcas.sourceforge.net/)

COPYRIGHT

   Copyright (C) 2003 Comite Reseau des Universites (http://www.cru.fr).
   All rights reserved.

   This library is free software; you can redistribute it and/or modify it
   under the same terms as Perl itself.

AUTHORS

   Olivier Salaun





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.