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.


Fields inherited from interface org.tigris.subversion.javahl.PromptUserPassword2
AccecptTemporary, AcceptPermanently, AcceptTemporary, Reject
 
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
 
Methods inherited from interface org.tigris.subversion.javahl.PromptUserPassword2
askTrustSSLServer
 
Methods inherited from interface org.tigris.subversion.javahl.PromptUserPassword
askQuestion, askYesNo, getPassword, getUsername, prompt
 

Method Detail

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 username
username - username in the realm
maySave - 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 question
question - text of the question
showAnswer - flag if the answer should be displayed
maySave - 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