Daniel P. Berrangé > Authen-PAAS-1.1.1 > Authen::PAAS::Principal

Download:
Authen-PAAS-1.1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.0.0   Source  

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

SEE ALSO ^

Authen::PAAS::Subject, Authen::PAAS::Credential

syntax highlighting: