[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: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-08-25 14:39:56 CEST

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.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 25 14:41:19 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.