Bryce Harrington > WebService-TicketAuth-1.05 > WebService::TicketAuth::DBI

Download:
WebService-TicketAuth-1.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.05   Source  

NAME ^

WebService::TicketAuth::DBI - Ticket-based authentication module for SOAP services

SYNOPSIS ^

    @WebService::MyService::ISA = qw(WebService::TicketAuth::DBI);

DESCRIPTION ^

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).

FUNCTIONS ^

new(%args)

Creates a new instance of TicketAuth. Establishes several private member functions for authentication, to calculate, make, and check the authInfo.

_get_dbh

Overridable routine to retrieve a database handle. This is used for caching db handles, for example.

get_error()

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.

ticket_duration

Establishes length of time that a user's ticket will remain valid. Allowed duration is 24 hours.

is_valid

Override of WebService::TicketAuth::is_valid() to determine whether a set of credentials are valid.

AUTHORS ^

Bryce Harrington, bryce at bryceharrington dot org.

COPYRIGHT ^

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.

SEE ALSO ^

perl, SOAP::Lite, Apache::AuthTicket, WebService::TicketAuth

syntax highlighting: