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

Re: [Subclipse-dev] How to disable SVNKit cacheing credentials via svnClientAdapter?

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-05-10 20:17:55 CEST

On 5/10/07, Shawn Jin <shawnemails@gmail.com> wrote:
> Hello,
>
> I am using SVNKit client via svnClientAdpater. I found the default SVNKit
> authentication manager is bouncing back the cached last correct credentials
> in case of failed authentication. I have read Developer's Guide on SVNkit
> website. But I guess I can not access ISVNAuthenticationManager from
> svnClientAdapter? Basically I have an instance of SvnKitClientAdapter from
> org.tigris.subversion.svnclientadapter.svnkit package, then
> what do I do?
>
> PS: why on earth SVNKit insists to use the correct credential when provided
> a wrong one? bug?

We do not do SVNKit development here, so specific questions about
SVNKit should be asked on their forums and lists.

If you are writing your own code that uses svnClientAdapter, then you
should be able to implement ISVNPromptUserPassword and set it in your
ISVNClientAdapter using the addPasswordCallback() method. The
ISVNPromptUserPassword class you create will allow you to control
whether credentials are cached.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Thu May 10 20:18:06 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.