Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Authen::Ticket(3)     User Contributed Perl Documentation    Authen::Ticket(3)

NAME
       Authen::Ticket -	Perl extension for implementing	ticket authentication

SYNOPSIS
	 PerlHandler Authen::Ticket

       or

	 PerlAccessHandler Authen::Ticket
	 ErrorDocument	   403	http://ticket.tamu.edu/TicketMaster/

DESCRIPTION
       Authen::Ticket provides the mod_perl framework for using	the
       Authen::Ticket::Server and Authen::Ticket::Client classes as Apache
       handlers.

       To create custom	handlers, derive a class (My::Authen) from
       Authen::Ticket:

	 package My::Authen;
	 use vars (qw/@ISA/);
	 @ISA =	(qw/Authen::Ticket/);

       In addition to My::Authen, the server and client	classes	are also
       required:

	 package My::Authen::Server;
	 use vars (qw/@ISA/);
	 @ISA =	(qw/Authen::Ticket::Server/);

	 sub authenticate {
	   my($self, $u) = @_;
	   my $t = { };

	   # do	stuff
	   return $t;	# hash ref to ticket contents
	 }

	 package My::Authen::Client;
	 use vars (qw/@ISA/);
	 @ISA =	(qw/Authen::Ticket::Client/);

       See the documentation for each of Authen::Ticket::Server	and
       Authen::Ticket::Client for a list of methods that may be	implemented.

AUTHOR
       James G.	Smith <jgsmith@tamu.edu>

COPYRIGHT
       Copyright (c) 1999, Texas A&M University.  All rights reserved.

       Redistribution and use in source	and binary forms, with or without
       modification, are permitted provided that the following conditions are
       met:

	1. Redistributions of source code must retain the above	copyright
	   notice, this	list of	conditions and the following disclaimer.
	2. Redistributions in binary form must reproduce the above
	   copyright notice, this list of conditions and the following
	   disclaimer in the documentation and/or other	materials
	   provided with the distribution.
	3. Neither the name of the University nor the names of its
	   contributors	may be used to endorse or promote products
	   derived from	this software without specific prior written
	   permission.

       THIS SOFTWARE IS	PROVIDED BY THE	COPYRIGHT HOLDERS AND CONTRIBUTERS
       ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,	INCLUDING, BUT NOT
       LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
       PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
       HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
       SPECIAL,	EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,	BUT NOT
       LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;	LOSS OF	USE,
       DATA, OR	PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
       THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT	LIABILITY, OR TORT
       (INCLUDING NEGLIGENCE OR	OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
       OF THIS SOFTWARE, EVEN IF ADVISED OF THE	POSSIBILITY OF SUCH DAMAGE.

SEE ALSO
       perl(1),	Authen::Ticket::Client(3), Authen::Ticket::Server(3).

perl v5.24.1			  1999-11-18		     Authen::Ticket(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Authen::Ticket&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help