public interface PromptUserPassword2 extends PromptUserPassword
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
askQuestion, askYesNo, getPassword, getUsername, prompt
static final int Reject
static final int AcceptTemporary
static final int AccecptTemporary
static final int AcceptPermanently
int askTrustSSLServer(java.lang.String info, boolean allowPermanently)
info
- the probblems with the certificate.allowPermanently
- if AcceptPermantly is a legal answer