| org.tigris.subversion.javahl.PromptUserPassword
PromptUserPassword | public interface PromptUserPassword (Code) | | The original interface for receiving callbacks for authentication.
Consider this code deprecated -- new applications should use
PromptUserPassword3 instead.
|
Method Summary | |
public String | askQuestion(String realm, String question, boolean showAnswer) ask the user a question where she answers with a text. | public boolean | askYesNo(String realm, String question, boolean yesIsDefault) | public String | getPassword() | public String | getUsername() | public 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. Parameters: username - the default username Whether the prompt for authentication credentials wassuccessful (e.g. |
askQuestion | public String askQuestion(String realm, String question, boolean showAnswer)(Code) | | ask the user a question where she answers with a text.
Parameters: realm - for which server realm this information is requested. Parameters: question - question to be asked Parameters: showAnswer - if the answer is shown or hidden the entered text or null if canceled |
askYesNo | public boolean askYesNo(String realm, String question, boolean yesIsDefault)(Code) | | ask the user a yes/no question
Parameters: realm - for which server realm this information is requested. Parameters: question - question to be asked Parameters: yesIsDefault - if yes should be the default the answer |
getPassword | public String getPassword()(Code) | | retrieve the password entered during the prompt call
the password |
getUsername | public String getUsername()(Code) | | retrieve the username entered during the prompt call
the username |
prompt | public boolean prompt(String realm, String username)(Code) | | 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. Parameters: username - the default username Whether the prompt for authentication credentials wassuccessful (e.g. in a GUI application whether the dialog boxwas canceled). |
|
|