|
Apache::Wyrd::Services::TicketPad - Key storage for LoginServer Service |
Apache::Wyrd::Services::TicketPad - Key storage for LoginServer Service
use Apache::Wyrd::Services::TicketPad;
my $pad = Apache::Wyrd::Services::TicketPad->new($ticketfile, 5);
my $key = 'Swordfish';
my $ticket = join ('', qw(
5261306521af6ea42a9c19060e1dc1258791d4c1f6ac
9be773c5e454b1679171f2ddf35967a5b4bad255e9c8
e8c98444d3790c3793a826b6460087cbaaf32036a19b
526236eb07931ea055808f047d81f6afae38ffabb720
));
$pad->add_ticket($ticket, $key);
$key = $pad->find($ticket);
NONE
(format: (returns) name (arguments after self))
new (scalar, scalar)add_ticket (scalar, scalar)add_ticket (scalar)
Will fail if the Apache process cannot create a file unreadable by group or other.
Barry King <wyrd@nospam.wyrdwright.com>
Copyright 2002-2004 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
|
Apache::Wyrd::Services::TicketPad - Key storage for LoginServer Service |