Hello Sydney,
> 1. File authDir
Directory where information about "trusted" server certificates will be
stored.
> 2. File[] serverCertFiles
X509 server certificates that you trust. I think you may pass empty
array here.
> 3. File clientFile
This is your client certificate.
When connecting over SSL there are two certificates. First is one that
server sends you and you could analyze it and decide whether you trust
this server or not. If you're using Default auth manager, and you've set
up ISVNAuthenticationProvider in it, then this provider will be called
to check whether certain certificate is trusted or not. Actually, there
is chain of providers - first keep certificates that were trusted in the
current session, another those that were trusted before and stored in
the disk cache.
Another (optional) certificate is client one that have to be sent to the
server in order to get access to it.
Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
sydney wrote:
> Hi all,
>
> I just want to ask about the paramters needed for the constructor of
> DefaultSVNSSLManager:
>
> What are these:
> 1. File authDir
> 2. File[] serverCertFiles
> 3. File clientFile
>
> I have the certificate file with me. I'm assuming this is what I pass on as
> serverCertFiles (please correct me if I am wrong)..but I currently have no
> idea as to what the authDir and clientFile are.
>
> Thanks for your help.
>
> Regards,
> Sydney