You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by cm...@apache.org on 2013/05/21 21:57:34 UTC

svn commit: r1484921 - in /subversion/branches/auth-notification/subversion: libsvn_auth_gnome_keyring/ libsvn_auth_kwallet/ libsvn_subr/

Author: cmpilato
Date: Tue May 21 19:57:33 2013
New Revision: 1484921

URL: http://svn.apache.org/r1484921
Log:
On the 'auth-notification' branch:
Finish populating the auth provider names.

* subversion/libsvn_auth_gnome_keyring/gnome_keyring.c,
* subversion/libsvn_auth_kwallet/kwallet.cpp,
* subversion/libsvn_subr/gpg_agent.c,
* subversion/libsvn_subr/macos_keychain.c,
* subversion/libsvn_subr/ssl_client_cert_providers.c,
* subversion/libsvn_subr/ssl_client_cert_pw_providers.c,
* subversion/libsvn_subr/ssl_server_trust_providers.c,
* subversion/libsvn_subr/username_providers.c,
* subversion/libsvn_subr/win32_crypto.c
  Also initialize (to non-NULL) the "provider_name"
  svn_auth_provider_t member.


Modified:
    subversion/branches/auth-notification/subversion/libsvn_auth_gnome_keyring/gnome_keyring.c
    subversion/branches/auth-notification/subversion/libsvn_auth_kwallet/kwallet.cpp
    subversion/branches/auth-notification/subversion/libsvn_subr/gpg_agent.c
    subversion/branches/auth-notification/subversion/libsvn_subr/macos_keychain.c
    subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_providers.c
    subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_pw_providers.c
    subversion/branches/auth-notification/subversion/libsvn_subr/ssl_server_trust_providers.c
    subversion/branches/auth-notification/subversion/libsvn_subr/username_providers.c
    subversion/branches/auth-notification/subversion/libsvn_subr/win32_crypto.c

Modified: subversion/branches/auth-notification/subversion/libsvn_auth_gnome_keyring/gnome_keyring.c
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_auth_gnome_keyring/gnome_keyring.c?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_auth_gnome_keyring/gnome_keyring.c (original)
+++ subversion/branches/auth-notification/subversion/libsvn_auth_gnome_keyring/gnome_keyring.c Tue May 21 19:57:33 2013
@@ -441,7 +441,7 @@ static const svn_auth_provider_t gnome_k
   simple_gnome_keyring_first_creds,
   NULL,
   simple_gnome_keyring_save_creds,
-  "Gnome Keyring simple provider"
+  "Gnome Keyring (simple)"
 };
 
 /* Public API */

Modified: subversion/branches/auth-notification/subversion/libsvn_auth_kwallet/kwallet.cpp
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_auth_kwallet/kwallet.cpp?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_auth_kwallet/kwallet.cpp (original)
+++ subversion/branches/auth-notification/subversion/libsvn_auth_kwallet/kwallet.cpp Tue May 21 19:57:33 2013
@@ -376,7 +376,8 @@ static const svn_auth_provider_t kwallet
   SVN_AUTH_CRED_SIMPLE,
   kwallet_simple_first_creds,
   NULL,
-  kwallet_simple_save_creds
+  kwallet_simple_save_creds,
+  "KDE KWallet (simple)"
 };
 
 /* Public API */
@@ -439,7 +440,8 @@ static const svn_auth_provider_t kwallet
   SVN_AUTH_CRED_SSL_CLIENT_CERT_PW,
   kwallet_ssl_client_cert_pw_first_creds,
   NULL,
-  kwallet_ssl_client_cert_pw_save_creds
+  kwallet_ssl_client_cert_pw_save_creds,
+  "KDE KWallet (SSL client cert passphrase)"
 };
 
 /* Public API */

Modified: subversion/branches/auth-notification/subversion/libsvn_subr/gpg_agent.c
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_subr/gpg_agent.c?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_subr/gpg_agent.c (original)
+++ subversion/branches/auth-notification/subversion/libsvn_subr/gpg_agent.c Tue May 21 19:57:33 2013
@@ -444,7 +444,8 @@ static const svn_auth_provider_t gpg_age
   SVN_AUTH_CRED_SIMPLE,
   simple_gpg_agent_first_creds,
   NULL,
-  simple_gpg_agent_save_creds
+  simple_gpg_agent_save_creds,
+  "GPG Agent (simple)"
 };
 
 

Modified: subversion/branches/auth-notification/subversion/libsvn_subr/macos_keychain.c
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_subr/macos_keychain.c?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_subr/macos_keychain.c (original)
+++ subversion/branches/auth-notification/subversion/libsvn_subr/macos_keychain.c Tue May 21 19:57:33 2013
@@ -192,7 +192,8 @@ static const svn_auth_provider_t keychai
   SVN_AUTH_CRED_SIMPLE,
   keychain_simple_first_creds,
   NULL,
-  keychain_simple_save_creds
+  keychain_simple_save_creds,
+  "Mac OS Keychain (simple)"
 };
 
 /* Get cached encrypted credentials from the ssl client cert password
@@ -235,7 +236,8 @@ static const svn_auth_provider_t keychai
   SVN_AUTH_CRED_SSL_CLIENT_CERT_PW,
   keychain_ssl_client_cert_pw_first_creds,
   NULL,
-  keychain_ssl_client_cert_pw_save_creds
+  keychain_ssl_client_cert_pw_save_creds,
+  "Mac OS Keychain (SSL client cert passphrase)"
 };
 
 

Modified: subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_providers.c
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_providers.c?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_providers.c (original)
+++ subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_providers.c Tue May 21 19:57:33 2013
@@ -84,7 +84,8 @@ static const svn_auth_provider_t ssl_cli
     SVN_AUTH_CRED_SSL_CLIENT_CERT,
     ssl_client_cert_file_first_credentials,
     NULL,
-    NULL
+    NULL,
+    "Plaintext (SSL client cert file)"
   };
 
 
@@ -184,7 +185,8 @@ static const svn_auth_provider_t ssl_cli
   SVN_AUTH_CRED_SSL_CLIENT_CERT,
   ssl_client_cert_prompt_first_cred,
   ssl_client_cert_prompt_next_cred,
-  NULL
+  NULL,
+  "Prompt (SSL client cert file)"
 };
 
 

Modified: subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_pw_providers.c
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_pw_providers.c?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_pw_providers.c (original)
+++ subversion/branches/auth-notification/subversion/libsvn_subr/ssl_client_cert_pw_providers.c Tue May 21 19:57:33 2013
@@ -369,7 +369,8 @@ static const svn_auth_provider_t ssl_cli
   SVN_AUTH_CRED_SSL_CLIENT_CERT_PW,
   ssl_client_cert_pw_file_first_credentials,
   NULL,
-  ssl_client_cert_pw_file_save_credentials
+  ssl_client_cert_pw_file_save_credentials,
+  "Plaintext (SSL client cert passphrase)"
 };
 
 
@@ -481,7 +482,8 @@ static const svn_auth_provider_t client_
   SVN_AUTH_CRED_SSL_CLIENT_CERT_PW,
   ssl_client_cert_pw_prompt_first_cred,
   ssl_client_cert_pw_prompt_next_cred,
-  NULL
+  NULL,
+  "Prompt (SSL client cert passphrase)"
 };
 
 

Modified: subversion/branches/auth-notification/subversion/libsvn_subr/ssl_server_trust_providers.c
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_subr/ssl_server_trust_providers.c?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_subr/ssl_server_trust_providers.c (original)
+++ subversion/branches/auth-notification/subversion/libsvn_subr/ssl_server_trust_providers.c Tue May 21 19:57:33 2013
@@ -152,6 +152,7 @@ static const svn_auth_provider_t ssl_ser
   &ssl_server_trust_file_first_credentials,
   NULL,
   &ssl_server_trust_file_save_credentials,
+  "Plaintext (SSL server trust)"
 };
 
 
@@ -211,7 +212,8 @@ static const svn_auth_provider_t ssl_ser
   SVN_AUTH_CRED_SSL_SERVER_TRUST,
   ssl_server_trust_prompt_first_cred,
   NULL,
-  NULL
+  NULL,
+  "Prompt (SSL server trust)"
 };
 
 

Modified: subversion/branches/auth-notification/subversion/libsvn_subr/username_providers.c
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_subr/username_providers.c?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_subr/username_providers.c (original)
+++ subversion/branches/auth-notification/subversion/libsvn_subr/username_providers.c Tue May 21 19:57:33 2013
@@ -140,7 +140,8 @@ static const svn_auth_provider_t usernam
   SVN_AUTH_CRED_USERNAME,
   username_first_creds,
   NULL,
-  username_save_creds
+  username_save_creds,
+  "Plaintext (username)"
 };
 
 
@@ -281,6 +282,7 @@ static const svn_auth_provider_t usernam
   username_prompt_first_creds,
   username_prompt_next_creds,
   NULL,
+  "Prompt (username)"
 };
 
 

Modified: subversion/branches/auth-notification/subversion/libsvn_subr/win32_crypto.c
URL: http://svn.apache.org/viewvc/subversion/branches/auth-notification/subversion/libsvn_subr/win32_crypto.c?rev=1484921&r1=1484920&r2=1484921&view=diff
==============================================================================
--- subversion/branches/auth-notification/subversion/libsvn_subr/win32_crypto.c (original)
+++ subversion/branches/auth-notification/subversion/libsvn_subr/win32_crypto.c Tue May 21 19:57:33 2013
@@ -207,7 +207,8 @@ static const svn_auth_provider_t windows
   SVN_AUTH_CRED_SIMPLE,
   windows_simple_first_creds,
   NULL,
-  windows_simple_save_creds
+  windows_simple_save_creds,
+  "Windows CryptoAPI (simple)"
 };
 
 
@@ -326,6 +327,7 @@ static const svn_auth_provider_t windows
   windows_ssl_client_cert_pw_first_creds,
   NULL,
   windows_ssl_client_cert_pw_save_creds
+  "Windows CryptoAPI (SSL client cert passphrase)"
 };
 
 
@@ -476,6 +478,7 @@ static const svn_auth_provider_t windows
   windows_ssl_server_trust_first_credentials,
   NULL,
   NULL,
+  "Windows CryptoAPI (SSL server trust)"
 };
 
 /* Public API */