1VOMS::Lite::Attribs::DBUHseelrpeCro(n3t)ributed Perl DocVuOmMeSn:t:aLtiitoen::Attribs::DBHelper(3)
2
3
4
6 VOMS::Lite::Attribs::DBHelper - Perl extension for VOMS::Lite
7
9 use VOMS::Lite::DBHelper::Attribs;
10 my ($IssueNo,@Attribs)=GetAttrib($database,$host,$port,$db_user,$db_pass,$role,$group,$ca,$dn,$function);
11
13 This helper obtains Attributes for a registered user from a VOMS mysql database.
14 It returns the Attributes in a list and the issue number for those Attributes.
15 The function requires:
16 1, the name of the database (usually the base Group),
17 2,3, the host and port to attach to,
18 4,5, the DB username and password
19 6,7, Optionally a requested role and group
20 8,9, The Issuers DN of the holder's X509 cert and holder's DN strings,
21 10 The function (attributes all role group groupandrole).
22
23 EXPORT
24 None by default. Exports GetAttrib on request.
25
27 This module was originally designed for the SHEBANGS project at The
28 University of Manchester.
29 http://www.mc.manchester.ac.uk/projects/shebangs/
30
31 Mailing list, shebangs@listserv.manchester.ac.uk
32
33 Mailing list, voms-lite@listserv.manchester.ac.uk
34
36 Mike Jones <mike.jones@manchester.ac.uk>
37
39 Copyright (C) 2006 by Mike Jones
40
41 This library is free software; you can redistribute it and/or modify it
42 under the same terms as Perl itself, either Perl version 5.8.3 or, at
43 your option, any later version of Perl 5 you may have available.
44
45
46
47perl v5.32.0 2020-07-28 VOMS::Lite::Attribs::DBHelper(3)