From 2508c1fbe789c7a7ef990207871000599d1ea9ac Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Sun, 21 Aug 2011 02:03:37 +0200 Subject: [PATCH] feature #754: Rename proxy file name --- src/authm_mad/remotes/x509_proxy/x509_proxy_auth.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/authm_mad/remotes/x509_proxy/x509_proxy_auth.rb b/src/authm_mad/remotes/x509_proxy/x509_proxy_auth.rb index ca2d3bfa9d..8653788588 100644 --- a/src/authm_mad/remotes/x509_proxy/x509_proxy_auth.rb +++ b/src/authm_mad/remotes/x509_proxy/x509_proxy_auth.rb @@ -86,9 +86,7 @@ class X509ProxyAuth # Client side ########################################################################### - # Creates the login file for x509 authentication at ~/.one/one_x509. - # By default it is valid for 1 hour but it can be changed to any number - # of seconds with expire parameter (in seconds) + # Creates the login file for x509 authentication at ~/.one/one_x509_proxy. def login(user) # Init proxy file path and creates ~/.one directory if needed # Set instance variables @@ -99,7 +97,7 @@ class X509ProxyAuth rescue Errno::EEXIST end - one_proxy_path = proxy_dir + '/one_grid' + one_proxy_path = proxy_dir + '/one_x509_proxy' #Generate token for authentication text_to_sign = "#{user}:#{@dn}"