How to use VOMS api library
From Gcube Wiki
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.