Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Re: [Subclipse-dev] Subclispe credential

subclipse
Discussion topic

Back to topic list

Re: Re: [Subclipse-dev] Subclispe credential

Author markphip
Full name Mark Phippard
Date 2009-02-16 07:28:03 PST
Message On Mon, Feb 16, 2009 at 10:21 AM, Vincent <vincent.marillau​d@airbus.com> wrote:

> In an other way, is it possible to provide credentials to Subclipse ?
>
> These provided credentials would come from any source (a custom UI, ...)

For the most part No. We do not have a facility for doing this. The
SVNClientAdapter library, which Subclipse uses has methods to set the
username and password, and there is a way to get a reference to the
ISVNClientAdapter used by Subclipse. So conceivably you could set
this. I cannot really say it will work though or is something that is
supported.

We basically stopped trying to do this years ago because it just
didn't work. The Subversion libraries manage the credentials and
there is not enough interaction to support providing the credentials.
For example, we used to let you enter a username/password in Subclipse
and we would set these when we call Subversion, but if the credentials
were invalid or the password needed to be changed, the experience was
very awkward. Subversion would know the credentials were invalid and
call the callback to get new credentials, but then Subclipse did not
really have any way to know this was happening so that it could update
its credentials. So the next time you try to do something we supply
the old credentials again and the whole cycle repeats.

So we just got rid of all attempts to collect your credentials and
instead we allow Subversion and its callbacks to request them when
needed and we implement those callbacks. This makes the experience
work properly and also allows the credentials to be securely stored in
one place by Subversion.

--
Thanks

Mark Phippard
http://markphip.blogspot.com/

« Previous message in topic | 4 of 4 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-dev] Subclispe credential vinsm Vincent 2009-02-16 05:44:53 PST
     Re: [Subclipse-dev] Subclispe credential markphip Mark Phippard 2009-02-16 05:53:54 PST
         RE: Re: [Subclipse-dev] Subclispe credential vinsm Vincent 2009-02-16 07:21:14 PST
             Re: Re: [Subclipse-dev] Subclispe credential markphip Mark Phippard 2009-02-16 07:28:03 PST
Messages per page: