Gridport::SRB - GridPort extension for SRB
Contains subroutines that allow gridport to access SRB. The new function logs the user in to SRB. This depends on the standalone SRB module.
use Gridport::SRB; $srb_obj = Gridport::SRB->new(username=>$param1,proxy_location=>$param2); $results = $srb_obj->[function(paramname=>paramval)]; ## see the SRB standalone for a list of functions
Maytal Dahan, mdahan@sdsc.edu Catherine Mills, cmills@sdsc.edu Stephen Mock, mock@sdsc.edu
Cog::lib::Cog::Globus::Job, Cog::lib::Cog::Globus::RSL, Cog::lib::Cog::Globus::Run, Cog::lib::Cog::Globus::URLCopy, Cog::lib::Cog::MDS::Search, Cog::lib::Cog::Security::Cacl, Cog::lib::Cog::Security::Myproxy, Cog::lib::Cog::Security::Proxy, Cog::src::Config, CogUtil::lib::CogUtil::Log, CogUtil::lib::CogUtil::UnixRun, Gridport::lib::Gridport::Authentication, Gridport::lib::Gridport::FileTransfer, Gridport::lib::Gridport::Job, Gridport::lib::Gridport::ProxyForward, Gridport::lib::Gridport::SRB, NWS::lib::NWS, SRB::lib::SRB
Description: Creates an SRB object and logges the user into SRB using the information in the user_info_file.
Using the portal username and the user information file all these environemnt variables can be set in order to log the user in to SRB.
mdasDomainName srbUser srbHost mdasDomainHome srbPort srbHomeDir defaultResource or srbContainer SERVER_DN AUTH_SCHEME
Parameters:
username - this is the portal username proxy_location - this is the location where the users proxy is, this means that the user must be logged in to the portal to log in to SRB.
Usage: $srb = Gridport::SRB->new(portal_username=>``sample_user'',proxy_location=>``sample_path'');
Returns: an srb object
get_error()Description: Get the error messages.
Parameters: None
Usage: $err = $obj->get_error();
Returns: The errror messages
Description: An error is passed in with a return val, the error is appended to the error class variable adn the return val is returned. This is used to handle errors in SRB.
Parameters: err - the error string return val - the value to return from the subroutine
Usage: $ret = $self->error_return(``Username $username parameter invalid or no SRB account'',undef); return $ret;
Returns: The return val that is passed in.
perl(1).