|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.jss.util.ConsolePasswordCallback
public class ConsolePasswordCallback
A password callback that obtains its password from the console. Asterisks are echoed at the prompt.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsolePasswordCallback()
| Method Detail |
|---|
public Password getPasswordFirstAttempt(PasswordCallbackInfo info)
throws PasswordCallback.GiveUpException
PasswordCallbackgetPasswordAgain will
be called on subsequent attempts.
getPasswordFirstAttempt in interface PasswordCallbackinfo - 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
PasswordCallbackGiveUpException.
getPasswordAgain in interface PasswordCallbacktoken - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||