On 12/5/06, Zack Grossbart <zgrossbart@novell.com> wrote:
>
>
> I am new to the list.  I'm not using Subclipse.  I'm trying to use the
> svnClientAdapter to write a custom Subversion integration inside of
> Eclipse.  I
> am using the Java SVN Client from SVNKit.  This is working very well until
> I try
> to do something that accesses the server and requires authentication.  I
> am
> trying to get the log messages for an URL on a server that requires
> SSL.  I have
> tried using an URL as well as using a file in a working copy.  I have
> tried
> setting a username and password as well as waiting for a prompt.  Whatever
> I do
> I get the following exception.  Is these something else I need to setup to
> enable SSL authentication?  I couldn't really find any documentation about
> using
> the svnClientAdapter other than the JavaDoc.  Is there documentation out
> there
> that I should look at?  Is there a place in the Subclipse source code that
> I
> could look at?
You need to write a class that implement ISVNPromptUserPassword and then
pass it to the addPasswordCallback method of the ISVNClientAdapter.  This
class will then be called when a username or password is needed, or to
accept an SSL certificate.
Mark
Received on Tue Dec  5 21:02:28 2006