From 9b6c4dd39ad97575b742ae3608b942e44e94a202 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 28 Aug 2007 06:44:35 +0000 Subject: No need to pass a database handle into the ACL constructors any more. I was only going to use that for the krb5-group ACL, which I won't be implementing. --- docs/design-api | 5 ++--- perl/Wallet/ACL/Base.pm | 4 ++-- perl/Wallet/ACL/Krb5.pm | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/design-api b/docs/design-api index e58f050..760a0a2 100644 --- a/docs/design-api +++ b/docs/design-api @@ -85,12 +85,11 @@ Object API ACL API - new(DBH) + new() Creates a persistant ACL verifier for the given ACL type. This may do nothing, but some ACL verifiers require some persistant data, like a - persistant LDAP connection. The database handle should be provided to - the constructor, but a given ACL implementation may not use it. + persistant LDAP connection. check(PRINCIPAL, ACL) diff --git a/perl/Wallet/ACL/Base.pm b/perl/Wallet/ACL/Base.pm index 0670537..aad126d 100644 --- a/perl/Wallet/ACL/Base.pm +++ b/perl/Wallet/ACL/Base.pm @@ -77,10 +77,10 @@ from it. It is not used directly. =over 4 -=item new(DBH) +=item new() Creates a new ACL verifier. The generic function provided here just creates -and blesses an object and ignores the provided database handle. +and blesses an object. =item check(PRINCIPAL, ACL) diff --git a/perl/Wallet/ACL/Krb5.pm b/perl/Wallet/ACL/Krb5.pm index bc03405..b0a1b62 100644 --- a/perl/Wallet/ACL/Krb5.pm +++ b/perl/Wallet/ACL/Krb5.pm @@ -76,7 +76,7 @@ principal if and only if the principal exactly matches the ACL. =over 4 -=item new(DBH) +=item new() Creates a new ACL verifier. The database handle is not used. -- cgit v1.2.3