WebService::UMLSKS::GetUserData - Get username and password from the user.
use WebService::UMLSKS::GetUserData; my $getinfo = new GetUserData; my $verbose = 1; $service = $getinfo -> getUserDetails($verbose);
This module has package GetUserData which has two subroutines 'new' and 'getUserDetails'. This module takes the username and password from user and passes them to authenticate module for authentication. It gets back a valid proxy ticket if the user is valid or an invalid $service object from the authenticate module. Then it returns the $service object to the calling program (getUMLSInfo.pl).
The subroutines are as follows:
This sub creates a new object of GetUserData.
This sub takes username and password from user through command prompt.
This sub returns a service object after it authenticates the user with the help of authenticate module.
ValidateTerm.pm ConnectUMLS.pm Query.pm ws-getUMLSInfo.pl
Mugdha Choudhari, University of Minnesota Duluth <chou0130 at d.umn.edu>
Ted Pedersen, University of Minnesota Duluth <tpederse at d.umn.edu>
Copyright (C) 2011, Mugdha Choudhari, Ted Pedersen
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to The Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.