| Wallet::ACL::Krb5(3pm) | User Contributed Perl Documentation | Wallet::ACL::Krb5(3pm) |
Wallet::ACL::Krb5 - Simple wallet ACL verifier for Kerberos principals
my $verifier = Wallet::ACL::Krb5->new;
my $status = $verifier->check ($principal, $acl);
if (not defined $status) {
die "Something failed: ", $verifier->error, "\n";
} elsif ($status) {
print "Access granted\n";
} else {
print "Access denied\n";
}
Wallet::ACL::Krb5 is the simplest wallet ACL verifier, used to verify ACL lines of type "krb5". The value of such an ACL is a simple Kerberos principal in its text display form, and the ACL grants access to a given principal if and only if the principal exactly matches the ACL.
Wallet::ACL(3), Wallet::ACL::Base(3), wallet-backend(8)
This module is part of the wallet system. The current version is available from <https://www.eyrie.org/~eagle/software/wallet/>.
Russ Allbery <eagle@eyrie.org>
| 2024-11-12 | perl v5.40.0 |