org.tigris.subversion.javahl
Interface PromptUserPassword3
- All Superinterfaces:
- PromptUserPassword, PromptUserPassword2
- public interface PromptUserPassword3
- extends PromptUserPassword2
this is the interface for requesting authentification information from the
user. Should the javahl bindings need the matching information, these
methodes will be called.
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 |
boolean |
prompt(java.lang.String realm,
java.lang.String username,
boolean maySave)
Request the password to be used from the user. |
boolean |
userAllowedSave()
query if the user allowed the saving of the data of the last call |
prompt
public boolean prompt(java.lang.String realm,
java.lang.String username,
boolean maySave)
- Request the password to be used from the user.
the save data check box status will be queried by userAllowedSave
- Parameters:
realm
- realm for the usernameusername
- username in the realmmaySave
- should a save data check box be enabled.- Returns:
- password as entered or null if canceled.
askQuestion
public 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
- Parameters:
realm
- real of the questionquestion
- text of the questionshowAnswer
- flag if the answer should be displayedmaySave
- should a save data check box be enabled.- Returns:
- answer as entered or null if canceled
userAllowedSave
public boolean userAllowedSave()
- query if the user allowed the saving of the data of the last call
- Returns:
- was the save data check box checked