<<

NAME

Inca::GridProxy - Manages the renewal of a globus proxy credential via MyProxy

SYNOPSIS

  use Inca::GridProxy;
  eval {
    my $proxy = new Inca::GridProxy( "id", "inca://localhost:6666" ); 
    my $params = $proxy->requestProxyInformation();
    $proxy->getProxy( $params );
  };

DESCRIPTION

Used to connect to the Inca agent to request the MyProxy proxy information and then connect to a MyProxy server to retrieve a short-term proxy credential.

CLASS METHODS

new( )

Class constructor which returns a new Inca::GridProxy object. If unable to locate the executables grid-proxy-info and myproxy-get-delegation, will issue 'die'.

getProxy( $params, $filename )

Use the MyProxy server information passed in $params to retrieve a proxy and store it in $filename.

Arguments:

params

A reference to a hash array containing information about how to connect to a MyProxy server.

filename

A string containing the path to where the proxy should be stored.

Returns:

True on successful retrieval; false otherwise.

requestProxyInformation( $id, $uri, @args )

Contact the agent and request the MyProxy information to be sent to it.

Arguments:

id

A string containing the reporter manager identifier to use when contacting the agent.

uri

A string in the format of <scheme>://<path> containing the uri of the agent where

scheme

The type of URI being represented by the string (either file, inca, or incas)

path

The location of the URI being represented (e.g., localhost:7070)

args

A list of follow on arguments for the stream type (e.g., cert, key, and trusted certificate directory for the SSL connection).

Returns:

A reference to a hash containing the proxy renewal information if successful contact with the agent and undef otherwise.

AUTHOR

Shava Smallen <ssmallen@sdsc.edu>

CAVEATS/WARNINGS

None so far.

<<