API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.auth.callback. PasswordCallback View Source
Author(s)
Since
Version
1.19, 11/17/05
Serial
Hierarchy
 Object
      PasswordCallback
Implements
 Callback
 Serializable
Subclasses
Description
public class PasswordCallback
  Underlying security services instantiate and pass a PasswordCallback to the handle method of a CallbackHandler to retrieve password information.
See also:    CallbackHandler
Constructors
public PasswordCallback (String prompt, boolean echoOn)
  Construct a PasswordCallback with a prompt and a boolean specifying whether the password should be displayed as it is being typed.
Methods
Hide/Show inherited methods
public void clearPassword ()
Clear the retrieved password.
public char getPassword ()
  Get the retrieved password.
public String getPrompt ()
  Get the prompt.
public boolean isEchoOn ()
  Return whether the password should be displayed as it is being typed.
public void setPassword (char[] password)
  Set the retrieved password.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar