[Swift-commit] cog r3451

swift at ci.uchicago.edu swift at ci.uchicago.edu
Thu Aug 9 03:30:03 CDT 2012


------------------------------------------------------------------------
r3451 | hategan | 2012-08-09 03:27:36 -0500 (Thu, 09 Aug 2012) | 1 line

use system properties to set proxy and ca locations since CoGProperties gives precedence to those over its own set methods
------------------------------------------------------------------------
Index: modules/provider-coaster/src/org/globus/cog/abstraction/impl/execution/coaster/ServiceManager.java
===================================================================
--- modules/provider-coaster/src/org/globus/cog/abstraction/impl/execution/coaster/ServiceManager.java	(revision 3450)
+++ modules/provider-coaster/src/org/globus/cog/abstraction/impl/execution/coaster/ServiceManager.java	(working copy)
@@ -213,8 +213,8 @@
 
     private void setupGSIProxy() throws IOException, GeneralSecurityException {
         AutoCA.Info result = AutoCA.getInstance().createProxy();
-        CoGProperties.getDefault().setProxyFile(result.proxyPath);
-        CoGProperties.getDefault().setCaCertLocations(result.caCertPath);
+        System.setProperty("X509_USER_PROXY", result.proxyPath);
+        System.setProperty("X509_CERT_DIR", result.caCertPath);
     }
 
     private void setSecurityContext(Task t, SecurityContext sc, String provider)



More information about the Swift-commit mailing list