Configuration example

Configuration used for integration tests of this module

<jsaga-default xmlns="http://www.in2p3.fr/jsaga/session">
    <contexts>
        <context type="VOMS">
            <attribute name="CertRepository" value="${user.home}/.jsaga/contexts/voms/certificates/"/>
            <attribute name="UserProxy" value="${user.home}/.jsaga/tmp/voms_cred.txt"/>
            <attribute name="LifeTime" value="PT70M"/>
            <attribute name="ProxyType" value="old"/>
            <!--  PEM -->
            <attribute name="Vomses" value="${user.home}/.jsaga/contexts/voms/vomses/"/>
            <attribute name="VomsDir" value="${user.home}/.jsaga/contexts/voms/vomsdir/"/>
            <attribute name="Server" value="voms://voms.hellasgrid.gr:15004/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr"/>
            <attribute name="UserVO" value="dteam"/>
            <attribute name="UserCert" value="${user.home}/.jsaga/contexts/globus/usercert.pem"/>
            <attribute name="UserKey" value="${user.home}/.jsaga/contexts/globus/userkey.pem"/>
            <!--  InitialUserProxy
            <attribute name="Vomses" value="${user.home}/.jsaga/contexts/voms/vomses/"/>
            <attribute name="VomsDir" value="${user.home}/.jsaga/contexts/voms/vomsdir/"/>
            <attribute name="Server" value="voms://voms2.hellasgrid.gr:15004/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr"/>
            <attribute name="UserVO" value="dteam"/>
            <attribute name="InitialUserProxy" value="${user.home}/.jsaga/tmp/globus_cred.txt"/>-->
            <!--  PKCS12
            <attribute name="Vomses" value="${user.home}/.jsaga/contexts/voms/vomses/"/>
            <attribute name="VomsDir" value="${user.home}/.jsaga/contexts/voms/vomsdir/"/>
            <attribute name="Server" value="voms://voms2.hellasgrid.gr:15004/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr"/>
            <attribute name="UserVO" value="dteam"/>
            <attribute name="UserCertKey" value="${user.home}/.jsaga/contexts/globus/grid2.p12"/>-->
        </context>
        <context type="VOMSMyProxy">
            <attribute name="Server" value="voms://voms2.hellasgrid.gr:15004/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr"/>
            <attribute name="VomsDir" value="${user.home}/.jsaga/contexts/voms/vomsdir/"/>
            <attribute name="UserVO" value="dteam"/>
            <attribute name="CertRepository" value="${user.home}/.jsaga/contexts/voms/certificates/"/>
            <attribute name="UserProxy" value="${user.home}/.jsaga/tmp/voms_myproxy_cred.txt"/>
            <attribute name="UserCert" value="${user.home}/.jsaga/contexts/globus/usercert.pem"/>
            <attribute name="UserKey" value="${user.home}/.jsaga/contexts/globus/userkey.pem"/>
            <attribute name="LifeTime" value="PT72H"/>
            <attribute name="MyProxyServer" value="myproxy.cern.ch:7512"/>
            <attribute name="DelegationLifeTime" value="PT120H"/> 
            <!--  Optional attributes (equivalent to "-d -n" if not specified) -->
            <attribute name="MyProxyUserID" value="jsaga"/>
            <attribute name="MyProxyPass" value="tototo"/>
        </context>
    </contexts>
    <session>
        <context type="VOMS" id="dteam"/>
        <context type="VOMSMyProxy" id="myproxy"/>
    </session>
</jsaga-default>