Package org.tigris.subversion.javahl
Interface PromptUserPassword2
- All Superinterfaces:
PromptUserPassword
- All Known Subinterfaces:
PromptUserPassword3
,PromptUserPassword4
,PromptUserPasswordSSH
,PromptUserPasswordSSL
,PromptUserPasswordUser
Partial interface for receiving callbacks for authentication. New
applications should use PromptUserPassword3 instead.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated.Use the correctly spelled "AcceptTemporary" constant instead.static final int
Accept the connection to the server forever.static final int
Accept the connection to the server once.static final int
Reject the connection to the server. -
Method Summary
Modifier and TypeMethodDescriptionint
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 Details
-
Reject
static final int RejectReject the connection to the server.- See Also:
-
AcceptTemporary
static final int AcceptTemporaryAccept the connection to the server once.- See Also:
-
AccecptTemporary
static final int AccecptTemporaryDeprecated.Use the correctly spelled "AcceptTemporary" constant instead.- See Also:
-
AcceptPermanently
static final int AcceptPermanentlyAccept the connection to the server forever.- See Also:
-
-
Method Details
-
askTrustSSLServer
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
-