diff options
-rw-r--r-- | docs/design-api | 5 | ||||
-rw-r--r-- | perl/Wallet/ACL/Base.pm | 4 | ||||
-rw-r--r-- | 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. |