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

From Gcube Wiki
Jump to: navigation, search
(Installation Procedure)
(Installation Procedure)
Line 10: Line 10:
 
* copy ''org.gcube.vomanagement.voms-api.jar'' in a convenient directory
 
* copy ''org.gcube.vomanagement.voms-api.jar'' in a convenient directory
 
* Edit a vomsAPI.properties file based on the template provided in the SA.
 
* Edit a vomsAPI.properties file based on the template provided in the SA.
* Move your vomsAPI.properties in client working directory in order to use the settings chosen.
+
 
 +
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.* Move your vomsAPI.properties in client working directory in order to use the settings chosen.
  
 
== 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 17:21, 18 May 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.* Move your vomsAPI.properties in client working directory in order to use the settings chosen.

Using VOMS API library

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