|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.mozilla.jss.tests.FilePasswordCallback
| Nested Class Summary |
| Nested classes inherited from class org.mozilla.jss.util.PasswordCallback |
PasswordCallback.GiveUpException |
| Field Summary | |
private java.util.Properties |
passwords
|
| Constructor Summary | |
FilePasswordCallback(java.lang.String filename)
|
|
| Method Summary | |
Password |
getPasswordAgain(PasswordCallbackInfo info)
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 |
| Field Detail |
private java.util.Properties passwords
| Constructor Detail |
public FilePasswordCallback(java.lang.String filename)
throws java.io.IOException
| 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.
PasswordCallback.GiveUpException
public Password getPasswordAgain(PasswordCallbackInfo info)
throws PasswordCallback.GiveUpException
PasswordCallbackGiveUpException.
getPasswordAgain in interface PasswordCallbackinfo - 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.
PasswordCallback.GiveUpException
|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||