org.tigris.subversion.javahl
public interface PromptUserPassword
Method Summary | |
---|---|
String | askQuestion(String realm, String question, boolean showAnswer)
ask the user a question where she answers with a text. |
boolean | askYesNo(String realm, String question, boolean yesIsDefault)
ask the user a yes/no question |
String | getPassword()
retrieve the password entered during the prompt call |
String | getUsername()
retrieve the username entered during the prompt call |
boolean | prompt(String realm, String username)
Ask the user for username and password
The entered username/password is retrieved by the getUsername
getPasswort methods.
|
Parameters: realm for which server realm this information is requested. question question to be asked showAnswer if the answer is shown or hidden
Returns: the entered text or null if canceled
Parameters: realm for which server realm this information is requested. question question to be asked yesIsDefault if yes should be the default
Returns: the answer
Returns: the password
Returns: the username
Parameters: realm for which server realm this information is requested. username the default username
Returns: Whether the prompt for authentication credentials was successful (e.g. in a GUI application whether the dialog box was canceled).