VOMS::Lite::Attribs::DBHelper - Perl extension for VOMS::Lite
use VOMS::Lite::DBHelper::Attribs; my ($IssueNo,@Attribs)=GetAttrib($database,$host,$port,$db_user,$db_pass,$role,$group,$ca,$dn,$function);
This helper obtains Attributes for a registered user from a VOMS mysql database. It returns the Attributes in a list and the issue number for those Attributes. The function requires: 1, the name of the database (usually the base Group), 2,3, the host and port to attach to, 4,5, the DB username and password 6,7, Optionally a requested role and group 8,9, The Issuers DN of the holder's X509 cert and holder's DN strings, 10 The function (attributes all role group groupandrole).
None by default. Exports GetAttrib on request.
This module was originally designed for the SHEBANGS project at The University of Manchester. http://www.mc.manchester.ac.uk/projects/shebangs/
Mailing list, shebangs@listserv.manchester.ac.uk
Mailing list, voms-lite@listserv.manchester.ac.uk
Mike Jones <mike.jones@manchester.ac.uk>
Copyright (C) 2006 by Mike Jones
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.
To install VOMS::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VOMS::Lite
CPAN shell
perl -MCPAN -e shell install VOMS::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.