May 2001
Intermediate to advanced
618 pages
20h 50m
English
Class javax.security.auth.callback.ChoiceCallback
Login modules that want the user to make a particular
choice
will create an instance of this object and pass it to the callback
handler. Your callback handler should call the
setSelectedIndex( ) method to indicate which
choice(s) the user made.
public class javax.security.auth.callback.ChoiceCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback {
// Constructors
public ChoiceCallback(String, String[], int, boolean);
// Instance Methods
public boolean allowMultipleSelections( );
public String[] getChoices( );
public int getDefaultChoice( );
public String getPrompt( );
public int[] getSelectedIndexes( );
public void setSelectedIndex(int);
public void setSelectedIndexes(int[]);
}Read now
Unlock full access