Module java.base
Package javax.security.auth.callback

# Class ConfirmationCallback

=
public class ConfirmationCallback
extends java.lang.Object
implements java.io.Serializable, javax.security.auth.callback.Callback

## Fields

- =
  public static final int CANCEL = 2
- =
  public static final int ERROR = 2
- =
  public static final int INFORMATION = 0
- =
  public static final int NO = 1
- =
  public static final int OK = 3
- =
  public static final int OK_CANCEL_OPTION = 2
- =
  public static final int UNSPECIFIED_OPTION = -1
- =
  public static final int WARNING = 1
- =
  public static final int YES = 0
- =
  public static final int YES_NO_CANCEL_OPTION = 1
- =
  public static final int YES_NO_OPTION = 0

## Constructors

- =
  public ConfirmationCallback(int arg0, int arg1, int arg2)
- =
  public ConfirmationCallback(int arg0, java.lang.String[] arg1, int arg2)
- =
  public ConfirmationCallback(java.lang.String arg0, int arg1, int arg2, int arg3)
- =
  public ConfirmationCallback(java.lang.String arg0, int arg1, java.lang.String[] arg2, int arg3)

## Methods

- =
  public int getDefaultOption()
- =
  public int getMessageType()
- =
  public int getOptionType()
- =
  public java.lang.String[] getOptions()
- =
  public java.lang.String getPrompt()
- =
  public int getSelectedIndex()
- =
  public void setSelectedIndex(int arg0)

## Serialized Form

=

### serialVersionUID

=-9095656433782481624

### Serialized Fields

- =
  int defaultOption
- =
  int messageType
- =
  int optionType
- =
  java.lang.String[] options
- =
  java.lang.String prompt
- =
  int selection

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException

## Summary

No differences.