All LDAP Classes
Internal LDAP Classes

com.novell.sasl
Class RealmChoiceCallback

java.lang.Object
  |
  +--javax.security.auth.callback.ChoiceCallback
        |
        +--com.novell.sasl.RealmChoiceCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback, java.io.Serializable

public class RealmChoiceCallback
extends javax.security.auth.callback.ChoiceCallback

This callback is used by SaslClient and SaslServer to obtain one or more realms given a list of realm choices.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.security.auth.callback.ChoiceCallback
 
Constructor Summary
RealmChoiceCallback(java.lang.String prompt, java.lang.String[] choices, int defaultChoice, boolean multipleSel)
          Constructs a RealmChoiceCallback with a prompt, a list of choices and a default choice.
 
Methods inherited from class javax.security.auth.callback.ChoiceCallback
allowMultipleSelections, getChoices, getDefaultChoice, getPrompt, getSelectedIndexes, setSelectedIndex, setSelectedIndexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealmChoiceCallback

public RealmChoiceCallback(java.lang.String prompt,
                           java.lang.String[] choices,
                           int defaultChoice,
                           boolean multipleSel)
Constructs a RealmChoiceCallback with a prompt, a list of choices and a default choice.

Parameters:
prompt - The non-null prompt to use to request the realm.
choices - The non-null list of realms to choose from.
defaultChoice - The choice to be used as the default choice when the list of choices is displayed. It is an index into the choices arary.
multipleSel - Specifies whether or not multiple selections can be made from the list of choices.

All LDAP Classes
Internal LDAP Classes

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000