|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISVNPromptUserPassword
An interface describing a callback used during authentification.
Field Summary | |
---|---|
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 | |
---|---|
java.lang.String |
askQuestion(java.lang.String realm,
java.lang.String question,
boolean showAnswer,
boolean maySave)
Ask the user a question about authentification the save data check box status will be queried by userAllowedSave |
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. |
boolean |
askYesNo(java.lang.String realm,
java.lang.String question,
boolean yesIsDefault)
ask the user a yes/no question |
java.lang.String |
getPassword()
retrieve the password entered during the prompt call |
int |
getSSHPort()
retrieve the SSH port entered during the prompt call |
java.lang.String |
getSSHPrivateKeyPassphrase()
retrieve the passphrase for the key file entered during the prompt call |
java.lang.String |
getSSHPrivateKeyPath()
retrieve the SSH key file entered during the prompt call |
java.lang.String |
getSSLClientCertPassword()
retrieve the password for the certifcate |
java.lang.String |
getSSLClientCertPath()
retrieve the SSL certificate entered during the prompt call |
java.lang.String |
getUsername()
retrieve the username entered during the prompt call |
boolean |
prompt(java.lang.String realm,
java.lang.String username,
boolean maySave)
Request the password to be used from the user. |
boolean |
promptSSH(java.lang.String realm,
java.lang.String username,
int sshPort,
boolean maySave)
Request the SSH info to be used from the user. |
boolean |
promptSSL(java.lang.String realm,
boolean maySave)
Request the SSL client certificate info to be used from the user. |
boolean |
promptUser(java.lang.String realm,
java.lang.String username,
boolean maySave)
Request the username to be used for SVN operation the save data check box status will be queried by userAllowedSave |
boolean |
userAllowedSave()
query if the user allowed the saving of the data of the last call |
Field Detail |
---|
static final int Reject
static final int AcceptTemporary
static final int AcceptPermanently
Method Detail |
---|
boolean askYesNo(java.lang.String realm, java.lang.String question, boolean yesIsDefault)
realm
- for which server realm this information is requested.question
- question to be askedyesIsDefault
- if yes should be the default
java.lang.String getUsername()
java.lang.String getPassword()
int askTrustSSLServer(java.lang.String info, boolean allowPermanently)
info
- the probblems with the certificate.allowPermanently
- if AcceptPermantly is a legal answer
boolean prompt(java.lang.String realm, java.lang.String username, boolean maySave)
realm
- realm for the usernameusername
- username in the realmmaySave
- should a save data check box be enabled.
boolean promptUser(java.lang.String realm, java.lang.String username, boolean maySave)
realm
- realm for the usernameusername
- username in the realmmaySave
- should a save data check box be enabled.
java.lang.String askQuestion(java.lang.String realm, java.lang.String question, boolean showAnswer, boolean maySave)
realm
- real of the questionquestion
- text of the questionshowAnswer
- flag if the answer should be displayedmaySave
- should a save data check box be enabled.
boolean userAllowedSave()
boolean promptSSH(java.lang.String realm, java.lang.String username, int sshPort, boolean maySave)
realm
- realm for the usernameusername
- username in the realmsshPort
- the port number to usemaySave
- should a save data check box be enabled.
java.lang.String getSSHPrivateKeyPath()
java.lang.String getSSHPrivateKeyPassphrase()
int getSSHPort()
boolean promptSSL(java.lang.String realm, boolean maySave)
realm
- realm for the actionmaySave
- should a save data check box be enabled.
java.lang.String getSSLClientCertPassword()
java.lang.String getSSLClientCertPath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |