Uses a Swing dialog window to query the user for answers to authentication questions.
Prompts and reads from the command line for answers to authentication questions.