Grid-SAFE IGE Client
====================

John.Robinson@ige-project.eu
http://www.ige-project.eu/

This package contains a simple Java based SOAP client for submitting 
Usage Records (URs) to the RUPI service on an instance of Grid-SAFE.

This package has been built / tested on:
CentOS release 6.3 (Final)
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (rhel-1.49.1.11.4.el6_3-x86_64)

This document assumes that you have already installed Grid-SAFE / RUPI via the 
IGE package 'gridsafe-ige-server' and contains information pertinent only to 
that release.

General / Usage Documentation on Grid-SAFE / RUPI can be found here:
http://gridsafe.sourceforge.net/Documentation/GridSafeDocumentation/index.html

Submitting URs to the RUPI service on a Grid-SAFE server installation:
----------------------------------------------------------------------

$ cd /opt/gridsafe-ige/ige-rupi-client/
$ ./ige-rupi-client.sh https://localhost:8443/axis2/services/RUPIService UR-FILE
(You can safely ingore any "log4j:WARN" messages)

The RUPI service is secured via https with Apache Tomcat Client Authentication.
The file 'client.jks' is the Java Key / Trust store.  The keystore password is
is 'password'.  The store contains the privateKeyEntry for the client, and a 
trustedCertEntry for the public key provided with the 'gridsafe-ige-server' 
package (which itself trusts the client certificate).  These key / trust store 
entries are provided for convenience only and should be replaced on a per-site 
basis.  Manipulation of Java key / trust stores is outside the scope of this 
document.

In the envisaged scenario, a cron job or similar would be used to submit URs 
generated by the scripts in 'gridsafe-ige-batch2ur'.

