Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr

subversion
Discussion topic

Back to topic list

Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr

Author stylesen
Full name Senthil Kumaran S
Date 2009-01-08 01:16:02 PST
Message -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bert,

Bert Huijben wrote:
> This method is generic for gui clients and commandline clients. This method should get the prompt handler from above instead of just choosing a cmdline implementation for the prompt handler.
>
> svn_auth_get_platfor​m_specific_provider should not register cmdline handlers, or javahl, the python and ruby bindings must be changed to no longer use this method.
>
> See also its documentation:
> ==========================
> /** Create and return @a *provider, an authentication provider of type @c
> * svn_auth_provider_object_t, or return @a NULL if the provider is not
> * available for the requested platform or the requested provider is unknown.
> *
> * Valid @a provider_name values are: "gnome_keyring", "keychain", "kwallet"
> * and "windows".
> *
> * Valid @a provider_type values are: "simple", "ssl_client_cert_pw" and
> * "ssl_server_trust".
> *
> * Allocate @a *provider in @a pool.
> *
> * What actually happens is we invoke the appropriate provider function to
> * supply the @a provider, like so:
> *
> * svn_auth_get_<nam​e>_<type>_p​rovider(@a provider, @a pool);
> *
> * @since New in 1.6.
> */
> svn_error_t *
> svn_auth_get_platfor​m_specific_provider(​svn_auth_provider_ob​ject_t **provider,
> const char *provider_name,
> const char *provider_type,
> apr_pool_t *pool);
>
> ============================
>
> It says nothing about being cmdline specific, but calling this method will register a cmdline prompt now.

I could not think of any better idea in order to implement it. Can you help me
in pointing out how we can go about? Or shall we document saying
"svn_auth_get_platfo​rm_specific_provider​" should not be used by gui clients?

Thank You.
- --
Senthil Kumaran S
http://www.stylesen.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJZcRJ9o1G+2zN​QDgRAvYoAJ4p0uPsUVDW​kP1O63kWHP54rp0O7ACg​jAxD
m+qGpMW+KB/xdByu7oAc68U=
=hB65
-----END PGP SIGNATURE-----

« Previous message in topic | 2 of 10 | Next message in topic »

Messages

Show all messages in topic

RE: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr rhuijben Bert Huijben 2009-01-07 06:15:04 PST
     Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr stylesen Senthil Kumaran S 2009-01-08 01:16:02 PST
         Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr arfrever Arfrever Frehtes Taifersar Arahesis 2009-01-08 03:48:30 PST
             Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr arfrever Arfrever Frehtes Taifersar Arahesis 2009-01-08 03:50:40 PST
             Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr stylesen Senthil Kumaran S 2009-01-08 03:59:39 PST
                 Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr julianfoad Julian Foad 2009-01-08 06:34:58 PST
                     Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-01-08 07:14:40 PST
                     Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr stylesen Senthil Kumaran S 2009-01-09 06:12:36 PST
             Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr stylesen Senthil Kumaran S 2009-01-09 06:11:17 PST
             Re: svn commit: r35055 - in trunk/subversion: include libsvn_auth_gnome_keyring libsvn_subr stylesen Senthil Kumaran S 2009-01-12 02:02:02 PST
Messages per page: