NAME
Authen::PAAS::Principal - An identity for a subject
SYNOPSIS
use Authen::PAAS::Principal;
my $princ = Authen::PAAS::Principal->new(name => $name);
print $princ->name, "\n";
DESCRIPTION
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.
METHODS
- $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.
AUTHORS
Daniel Berrange <dan@berrange.com>
COPYRIGHT
Copyright (C) 2004-2006 Daniel Berrange