Authen::Ticket::Client - Authentication code for the client website
Authen::Ticket::Client contains the basic tools required to decode and reconstruct the information in a ticket. See Authen::Ticket for the mod_perl access handler using Authen::Ticket::Client.
This subroutine returns the decoded version of the ticket. This is the place to put decryption of the cookie or other checks that do not depend on understanding the information within the ticket. The default version decodes from base 64. The return value is the decoded string representation of the ticket.
This subroutine breaks the ticket apart into field values. The return value is a hash reference containing the key/value pairs. This subroutine should only be concerned with ensuring a properly constructed ticket.
This subroutine may be used to perform particular class initialization beyond the defaults provided by Ticket::Authen::Client->new. Any configuration variables for the httpd configuration file should be placed in the %__PACKAGE__::DEFAULTS hash.
James G. Smith, <firstname.lastname@example.org>
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.