|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.auth.callback.PasswordCallback
Underlying security services instantiate and pass a PasswordCallback to the handle method of a CallbackHandler to retrieve password information. The CallbackHandler uses this to communicate to the security services a password obtained from the end-user.
Constructor Summary | |
PasswordCallback(java.lang.String prompt,
boolean echoOn)
Creates a new instance of PasswordCallback |
Method Summary | |
void |
clearPassord()
Clear the retrieved password. |
char[] |
getPassword()
Get the retrieved password. |
java.lang.String |
getPrompt()
Get the prompt. |
boolean |
isEchoOn()
return whether the password should be displayed as being typed. |
void |
setPassword(char[] password)
Set the retrieved password. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PasswordCallback(java.lang.String prompt, boolean echoOn)
Method Detail |
public java.lang.String getPrompt()
public boolean isEchoOn()
public void setPassword(char[] password)
public char[] getPassword()
public void clearPassord()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |