Wombat::Realm::GenericPrincipal - generic security principal class
Generic implementation of Servlet::Util::Principal that is available for use by Wombat::Realm implementations.
Construct and return a Wombat::Realm::GenericPrincipal instance, initializing fields appropriately. If subclasses override the constructor, they must be sure to call
$self->SUPER::new();
Return the username of the user represented by this Principal.
Return the authentication credentials for the user represented by this Principal.
Return the Realm with which this Principal is associated.
Return the array of roles associated with this user.
Return true if this principal possesses the specified role, or false otherwise.
Parameters:
the name of the security role to be checked
Servlet::Util::Principal, Wombat::Realm
Brian Moseley, bcm@maz.org
To install Wombat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wombat
CPAN shell
perl -MCPAN -e shell install Wombat
For more information on module installation, please visit the detailed CPAN module installation guide.