AIS-client
view release on metacpan or search on metacpan
client.pm
Makefile.PL
MANIFEST
README
test.pl
AIS/client version 0.05
=======================
Authenticate a user of a HTTP web page using the kerberos-like AIS
(Authenticated Identity Service) protocol, using netscape cookies,
defaulting to the pay2send.com public AIS server.
A persistent per-session stash is provided in addition to the
user's authenticated identity.
This version has not been tested under mod_perl, but future
versions will be.
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires these other modules and libraries:
DirDB (but another persistence framework would work too.)
COPYRIGHT AND LICENCE
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
#########################
# change 'tests => 1' to 'tests => last_test_to_print';
use Test;
BEGIN { plan tests => 2 };
BEGIN {print <<EOF };
AIS::client redirects and exits, only achieving it's
aim of authenticating a user against a central AIS server
after at least three state-altering calls to itself.
If you can figure out a way to write a test harness for
it I'll gladly accept the patch.
under these lines you should see something like
Set-Cookie:/AIS_session=SomE1RanDoM5GaRBagE
Location: http://?AIS_INITIAL
--------------------------------------------
EOF
ok(0);
use AIS::client;
ok(1); # If we made it this far, we're ok.
#########################
# Insert your test code below, the Test module is use()ed here so read
# its man page ( perldoc Test ) for help writing this test script.
( run in 0.352 second using v1.01-cache-2.11-cpan-87723dcf8b7 )