API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.sasl. RealmChoiceCallback View Source
Author(s)
Rosanna Lee
Rob Weltman
Since
1.5
Version
Serial
Hierarchy
 Object
      ChoiceCallback
          RealmChoiceCallback
Implements
Subclasses
Description
public class RealmChoiceCallback
  This callback is used by SaslClient and SaslServer to obtain a realm given a list of realm choices.
See also:   
Constructors
public RealmChoiceCallback (String prompt, String choices, int defaultChoice, boolean multiple)
  Constructs a RealmChoiceCallback with a prompt, a list of choices and a default choice.
Methods
Hide/Show inherited methods
public boolean allowMultipleSelections () [Inherited From ChoiceCallback]
  Get the boolean determining whether multiple selections from the choices list are allowed.
public String getChoices () [Inherited From ChoiceCallback]
  Get the list of choices.
public int getDefaultChoice () [Inherited From ChoiceCallback]
  Get the defaultChoice.
public String getPrompt () [Inherited From ChoiceCallback]
  Get the prompt.
public int getSelectedIndexes () [Inherited From ChoiceCallback]
  Get the selected choices.
public void setSelectedIndex (int selection) [Inherited From ChoiceCallback]
  Set the selected choice.
public void setSelectedIndexes (int[] selections) [Inherited From ChoiceCallback]
  Set the selected choices.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar