Login | Register
My pages Projects Community openCollabNet

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

Discussion topic

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

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

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.


Mark Phippard

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


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: