JSS 3.1

org.mozilla.jss.util
Class ConsolePasswordCallback

java.lang.Object
  |
  +--org.mozilla.jss.util.ConsolePasswordCallback

public class ConsolePasswordCallback
extends java.lang.Object
implements PasswordCallback

A password callback that obtains its password from the console. Asterisks are echoed at the prompt.


Constructor Summary
ConsolePasswordCallback()
           
 
Method Summary
 Password getPasswordAgain(PasswordCallbackInfo token)
           
 Password getPasswordFirstAttempt(PasswordCallbackInfo info)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ConsolePasswordCallback

public ConsolePasswordCallback()
Method Detail

getPasswordFirstAttempt

public Password getPasswordFirstAttempt(PasswordCallbackInfo info)
                                 throws PasswordCallback.GiveUpException
Specified by:
getPasswordFirstAttempt in interface PasswordCallback

getPasswordAgain

public Password getPasswordAgain(PasswordCallbackInfo token)
                          throws PasswordCallback.GiveUpException
Specified by:
getPasswordAgain in interface PasswordCallback

JSS 3.1