[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] svnant / svnClientAdapter / svnkit authentication

From: Maciek Sakrejda <msakrejda_at_truviso.com>
Date: 2007-08-15 22:57:22 CEST

Thanks for the quick reply, Mark. We just need SSH access, but if I'm
going to submit a patch, I think I'd like to try to do SSL as well. I
know little about SSL in general, but this sounds like it's mostly
shuffling around properties, so it should not be too complicated. Do you
know anything more about the property you mentioned? I grepped around,
but did not really find anything...

Thanks,
Maciek

On Wed, 2007-08-15 at 14:01 -0400, Mark Phippard wrote:
> On 8/15/07, Maciek Sakrejda <msakrejda@truviso.com> wrote:
> > I'm trying to get key-based svnant+svnkit working, and it seemed to be
> > fine without a private key passphrase, but now that I've added a
> > passphrase, I get an "authentication canceled" error. Could someone
> > point me in the right direction as to how to enable key-based
> > authentication with passphrase in svnant+svnkit? I'd be happy to submit
> > a patch.
> >
> > Ideally, I'd like to be able to set attributes for keyfile and
> > passphrase in the <svn> task (in addition to the current user and
> > password). Do I need to implement ISVNPromptUserPassword to do this and
> > register it as the handle for the given ISVNClientAdapter?
>
> Yes. That is exactly what you need to do. Is this SSL certs or SSH?
> The former require setting some Java property, I think, to tell SVNKit
> to prompt.
>
> > A lot of the
> > methods in that interface need interaction by their nature (say,
> > askYesNo)--can I just ignore these (i.e., return false)? Also, some have
> > out-of-date javadoc:
>
> You want to return true, which means if there was a UI, the user
> clicked OK and provided the information. False means the user decided
> to cancel. There will then be additional calls to get the username,
> password etc. that were entered. You do not have to provide an actual
> UI in these methods provided that you can provide the information it
> wants.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Wed Aug 15 22:55:10 2007

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.