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

Re: [Subclipse-dev] svnClientAdapter: Authentication cancelled when creating remote folder on file:/// repository

From: Shawn Jin <shawnemails_at_gmail.com>
Date: 2007-03-27 15:34:26 CEST

Mark,

I implemented ISVNPromptUserPassword, in which getUsername() and
getPassword() are returning a String "abc". Passed the class to
ISVNClientAdapter#addPasswordCallback method... No magic. My initial thought
from your reply is these two methods will provide authenticaion info when
the client is chanllenged, am I wrong?

Shawn

On 27/03/07, Mark Phippard <markphip@gmail.com> wrote:
>
> On 3/27/07, Shawn Jin <shawnemails@gmail.com> wrote:
> >
> > Hi Alexander and Mark,
> >
> > Thanks for your prompt reply.
> >
> > Alexander, I am not sure if I can access SVNClient.setPrompt() in SVNKit
> > directly as I am operating through svnClientAdapter?
>
>
> I think he was just shortening the names. He means you should make a
> class that implements ISVNPromptUserPassword and then pass that class to the
> ISVNClientAdapter#addPasswordCallback method.
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
Received on Tue Mar 27 15:34:39 2007

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