|
JSS 3.1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mozilla.jss.util.ConsolePasswordCallback
A password callback that obtains its password from the console. Asterisks are echoed at the prompt.
Inner classes inherited from class org.mozilla.jss.util.PasswordCallback |
PasswordCallback.GiveUpException |
Constructor Summary | |
ConsolePasswordCallback()
|
Method Summary | |
Password |
getPasswordAgain(PasswordCallbackInfo token)
Tries supplying a password again. |
Password |
getPasswordFirstAttempt(PasswordCallbackInfo info)
Supplies a password. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ConsolePasswordCallback()
Method Detail |
public Password getPasswordFirstAttempt(PasswordCallbackInfo info) throws PasswordCallback.GiveUpException
PasswordCallback
getPasswordAgain
will
be called on subsequent attempts.getPasswordFirstAttempt
in interface PasswordCallback
org.mozilla.jss.util.PasswordCallback
info
- Information about the token that is being logged into.PasswordCallback.GiveUpException
- If the callback does not want to supply
a password.public Password getPasswordAgain(PasswordCallbackInfo token) throws PasswordCallback.GiveUpException
PasswordCallback
GiveUpException
.getPasswordAgain
in interface PasswordCallback
org.mozilla.jss.util.PasswordCallback
info
- Information about the token that is being logged into.PasswordCallback.GiveUpException
- If the callback does not want to supply
a password. This may often be the case if the first attempt failed.
|
JSS 3.1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |