Difference between revisions of "How to use VOMS api library"

From Gcube Wiki
Jump to: navigation, search
(Download)
(Installation Procedure)
Line 12: Line 12:
  
 
vomsAPI.properties file is contained in SA and basically is composed of 3 sections:
 
vomsAPI.properties file is contained in SA and basically is composed of 3 sections:
1. information about VOMS server
+
#information about VOMS server
2. information about MyProxyCA server
+
#information about MyProxyCA server
3. CLIENT credentials: the credentials to be specified by client to contact VOMS. They should have VO-Admin privileges in VO group.* Move your vomsAPI.properties in client working directory in order to use the settings chosen.
+
#CLIENT credentials: the credentials to be specified by client to contact VOMS. They should have VO-Admin privileges in VO group.
  
 
== Using VOMS API library ==
 
== Using VOMS API library ==
  
 
To successfully contact the VOMS service with VOMS api library you DON'T need to use a VOMS servlet.
 
To successfully contact the VOMS service with VOMS api library you DON'T need to use a VOMS servlet.

Revision as of 12:08, 5 June 2009

Package Installation

Download

The VOMS api library can be downloaded from here.

Installation Procedure

The following steps have to be performed in order to use this library:

  • uncompress the org.gcube.vo-management.voms-api-0.0.0-0.tar.gz file
  • copy org.gcube.vomanagement.voms-api.jar in a convenient directory
  • Edit a vomsAPI.properties file based on the template provided in the SA.

vomsAPI.properties file is contained in SA and basically is composed of 3 sections:

  1. information about VOMS server
  2. information about MyProxyCA server
  3. CLIENT credentials: the credentials to be specified by client to contact VOMS. They should have VO-Admin privileges in VO group.

Using VOMS API library

To successfully contact the VOMS service with VOMS api library you DON'T need to use a VOMS servlet.