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

Re: Disabling password caching using JavaHL

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2005-08-26 00:36:46 CEST

On Thu, 25 Aug 2005, Mark Phippard wrote:

> Conor MacNeill <conor@cenqua.com> wrote on 08/25/2005 07:52:43 AM:
> > Is there anyway to prevent caching of credentials when using the JavaHL
> > SVNClient class? i.e. Can I get the behaviour equivalent to specifying
> > --no-auth-cache on the command line? I'm using the username() and
> > password() methods in the client interface.
> Yes. Create a class that implements PromptUserPassword3 interface and
> provide it to the setPrompt() method of the SVNClient class. When you do
> this, SVNClient will issue callbacks to your class to get information like
> username and password and also to ask you if you wanted to save the
> password.

I added some JavaDoc along these lines to trunk in r15917.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 26 00:37:01 2005

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

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