|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface PromptUserPassword
The original interface for receiving callbacks for authentication. Consider this code deprecated -- new applications should use PromptUserPassword3 instead.
| 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. |
| Method Detail |
|---|
boolean prompt(String realm,
String username)
realm - for which server realm this information is requested.username - the default username
boolean askYesNo(String realm,
String question,
boolean yesIsDefault)
realm - for which server realm this information is
requested.question - question to be askedyesIsDefault - if yes should be the default
String askQuestion(String realm,
String question,
boolean showAnswer)
realm - for which server realm this information is
requested.question - question to be askedshowAnswer - if the answer is shown or hidden
String getUsername()
String getPassword()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||