org.tigris.subversion.javahl
Interface PromptUserPassword2

All Superinterfaces:
PromptUserPassword
All Known Subinterfaces:
PromptUserPassword3

public interface PromptUserPassword2
extends PromptUserPassword

Partial interface for receiving callbacks for authentication. New applications should use PromptUserPassword3 instead.


Field Summary
static int AccecptTemporary
          Deprecated. Use the correctly spelled "AcceptTemporary" constant instead.
static int AcceptPermanently
          Accept the connection to the server forever.
static int AcceptTemporary
          Accept the connection to the server once.
static int Reject
          Reject the connection to the server.
 
Method Summary
 int askTrustSSLServer(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

static final int Reject
Reject the connection to the server.

See Also:
Constant Field Values

AcceptTemporary

static final int AcceptTemporary
Accept the connection to the server once.

See Also:
Constant Field Values

AccecptTemporary

static final int AccecptTemporary
Deprecated. Use the correctly spelled "AcceptTemporary" constant instead.
See Also:
Constant Field Values

AcceptPermanently

static final int AcceptPermanently
Accept the connection to the server forever.

See Also:
Constant Field Values
Method Detail

askTrustSSLServer

int askTrustSSLServer(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