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, firstname.lastname@example.org
Mailing list, email@example.com
Mike Jones <firstname.lastname@example.org>
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.