API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.auth.callback. NameCallback View Source
Author(s)
Since
Version
1.15, 11/17/05
Serial
Hierarchy
 Object
      NameCallback
Implements
 Callback
 Serializable
Subclasses
Description
public class NameCallback
  Underlying security services instantiate and pass a NameCallback to the handle method of a CallbackHandler to retrieve name information.
See also:    CallbackHandler
Constructors
public NameCallback (String prompt)
  Construct a NameCallback with a prompt.
public NameCallback (String prompt, String defaultName)
  Construct a NameCallback with a prompt and default name.
Methods
Hide/Show inherited methods
public String getDefaultName ()
  Get the default name.
public String getName ()
  Get the retrieved name.
public String getPrompt ()
  Get the prompt.
public void setName (String name)
  Set the retrieved name.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar