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:
- information about VOMS server
- information about MyProxyCA server
- 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.