Authen::PAAS::Principal - An identity for a subject
use Authen::PAAS::Principal;
my $princ = Authen::PAAS::Principal->new(name => $name);
print $princ->name, "\n";
This module represents an identity for a subject. An identity may be a kerberos
principal, a UNIX username, or any other identifying token related to a
particular authentication scheme. This module will usually be sub-classed by
each "Authen::PAAS::LoginModule"
implementation to provide module specific identifying data.
- $obj = Authen::PAAS::Principal->new(name => $name);
- Create a new principal with a name given by the
"name" parameter. This constructor will
typically only be used by sub-classes of this module.
- my $name = $princ->name;
- Retrieves the name associated with this principal, as set in the
constructor.
Daniel Berrange <dan@berrange.com>
Copyright (C) 2004-2006 Daniel Berrange
Authen::PAAS::Subject, Authen::PAAS::Credential