org.tigris.subversion.javahl
Interface PromptUserPassword2

All Superinterfaces:
PromptUserPassword
All Known Subinterfaces:
PromptUserPassword3

public interface PromptUserPassword2
extends PromptUserPassword

A bit more full interface for receiving callbacks for authentification new applications should use PromptUserPassword3 instead


Field Summary
static int AccecptTemporary
          Deprecated.  
static int AcceptPermanently
          accept the connection to the server forever
static int AcceptTemporary
          accept the connection to the server one time.
static int Reject
          reject the connection to the server
 
Method Summary
 int askTrustSSLServer(java.lang.String info, boolean allowPermanently)
          If there are problems with the certifcate of the SSL-server, this callback will be used to deside if the connection will be used.
 
Methods inherited from interface org.tigris.subversion.javahl.PromptUserPassword
askQuestion, askYesNo, getPassword, getUsername, prompt
 

Field Detail

Reject

public static final int Reject
reject the connection to the server

AcceptTemporary

public static final int AcceptTemporary
accept the connection to the server one time.

AccecptTemporary

public static final int AccecptTemporary
Deprecated.  

accept the connection to the server one time.

AcceptPermanently

public static final int AcceptPermanently
accept the connection to the server forever
Method Detail

askTrustSSLServer

public int askTrustSSLServer(java.lang.String info,
                             boolean allowPermanently)
If there are problems with the certifcate of the SSL-server, this callback will be used to deside if the connection will be used.
Parameters:
info - the probblems with the certificate.
allowPermanently - if AcceptPermantly is a legal answer
Returns:
one of Reject/AcceptTemporary/AcceptPermanently