Perl GridAuth client API

GridAuth - Perl implementation of the GridAuth API Specification


NAME

GridAuth - Perl implementation of the GridAuth API Specification


SYNOPSIS

  use GridAuth;
  my $auth = new GridAuth();
  my $auth->login($username, $password);
  print $auth->get('proxy');


ABSTRACT

  This module is an implementation of the GridAuth API Spec.
  Use this module for access to authentication and authorization
  with any GridAuth instance.


DESCRIPTION

This is the Perl implementation of the GridAuth API spec, which abstracts the infrastructure details and evolving grid-standards from the developer to allow basic authentication and authorization without the complexities of dealing with a full GSI deployment.


CLASS METHODS

new GridAuth

This is the constructor method which simply allocates space. The constructor does not communicate with the service handler in any way.

setServiceHandler( $url )

This method will overwrite the default service handler, this can be useful in testing situations where you don't want to run against a production environment.

login( $username, $password )

Login and establish a new grid session, this grid session can persist across multiple applications and resources.

login( $session )

Login with an existing grid session, this is used for continuing a previous login from a different application or resource.

logout()

This will destroy the logged in grid session

get(key)

Return the value of the passed in key

getkeys()

Return a list of all keys

getgroups()

Return a list of groups

isMember( $group )

Returns true iff user is a member of group


SEE ALSO

http://gridauth.sourceforge.net

  This page provides information and links about the
  GridAuth package including relevant client APIs


AUTHOR

Tim Warnock, <twarnock@sdsc.edu>


COPYRIGHT AND LICENSE

Copyright 2005 by Tim Warnock

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.