WebService::TicketAuth::DBI - Ticket-based authentication module for SOAP services
@WebService::MyService::ISA = qw(WebService::TicketAuth::DBI);
WebService::TicketAuth::DBI is an authentication system for SOAP-based web services using a DBI mechanism. This performs crypt() style password comparison (compatible with the UNIX crypt() call).
Creates a new instance of TicketAuth. Establishes several private member functions for authentication, to calculate, make, and check the authInfo.
Overridable routine to retrieve a database handle. This is used for caching db handles, for example.
Returns the most recent error message. If any of this module's routines return undef, this routine can be called to retrieve a message about what happened. If several errors have occurred, this will only return the most recently encountered one.
Establishes length of time that a user's ticket will remain valid. Allowed duration is 24 hours.
Override of WebService::TicketAuth::is_valid() to determine whether a set of credentials are valid.
Bryce Harrington, bryce at bryceharrington dot org.
Copyright (C) 2004 Bryce Harrington. All rights reserved.
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl, SOAP::Lite, Apache::AuthTicket, WebService::TicketAuth
To install WebService::TicketAuth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::TicketAuth
CPAN shell
perl -MCPAN -e shell install WebService::TicketAuth
For more information on module installation, please visit the detailed CPAN module installation guide.