final class com.sun.jndi.ldap.sasl.DefaultCallbackHandler implements javax.security.auth.callback.CallbackHandler
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.sun.jndi.ldap.sasl.DefaultCallbackHandler
  super_class: java.lang.Object
{
  private char[] passwd;
    descriptor: [C
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String authenticationID;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String authRealm;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.lang.String, java.lang.Object, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // com.sun.jndi.ldap.sasl.DefaultCallbackHandler this
        start local 1 // java.lang.String principal
        start local 2 // java.lang.Object cred
        start local 3 // java.lang.String realm
         0: .line 53
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 55
            aload 0 /* this */
            aload 1 /* principal */
            putfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authenticationID:Ljava/lang/String;
         2: .line 56
            aload 0 /* this */
            aload 3 /* realm */
            putfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authRealm:Ljava/lang/String;
         3: .line 57
            aload 2 /* cred */
            instanceof java.lang.String
            ifeq 6
         4: .line 58
            aload 0 /* this */
            aload 2 /* cred */
            checkcast java.lang.String
            invokevirtual java.lang.String.toCharArray:()[C
            putfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.passwd:[C
         5: .line 59
            goto 12
      StackMap locals: com.sun.jndi.ldap.sasl.DefaultCallbackHandler java.lang.String java.lang.Object java.lang.String
      StackMap stack:
         6: aload 2 /* cred */
            instanceof char[]
            ifeq 9
         7: .line 60
            aload 0 /* this */
            aload 2 /* cred */
            checkcast char[]
            invokevirtual char[].clone:()Ljava/lang/Object;
            checkcast char[]
            putfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.passwd:[C
         8: .line 61
            goto 12
      StackMap locals:
      StackMap stack:
         9: aload 2 /* cred */
            ifnull 12
        10: .line 63
            new java.lang.String
            dup
            aload 2 /* cred */
            checkcast byte[]
            ldc "UTF8"
            invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
            astore 4 /* orig */
        start local 4 // java.lang.String orig
        11: .line 64
            aload 0 /* this */
            aload 4 /* orig */
            invokevirtual java.lang.String.toCharArray:()[C
            putfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.passwd:[C
        end local 4 // java.lang.String orig
        12: .line 66
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.String realm
        end local 2 // java.lang.Object cred
        end local 1 // java.lang.String principal
        end local 0 // com.sun.jndi.ldap.sasl.DefaultCallbackHandler this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   13     0       this  Lcom/sun/jndi/ldap/sasl/DefaultCallbackHandler;
            0   13     1  principal  Ljava/lang/String;
            0   13     2       cred  Ljava/lang/Object;
            0   13     3      realm  Ljava/lang/String;
           11   12     4       orig  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      principal  
      cred       
      realm      

  public void handle(javax.security.auth.callback.Callback[]);
    descriptor: ([Ljavax/security/auth/callback/Callback;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // com.sun.jndi.ldap.sasl.DefaultCallbackHandler this
        start local 1 // javax.security.auth.callback.Callback[] callbacks
         0: .line 70
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         1: goto 46
         2: .line 71
      StackMap locals: int
      StackMap stack:
            aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            instanceof javax.security.auth.callback.NameCallback
            ifeq 5
         3: .line 72
            aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            checkcast javax.security.auth.callback.NameCallback
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authenticationID:Ljava/lang/String;
            invokevirtual javax.security.auth.callback.NameCallback.setName:(Ljava/lang/String;)V
         4: .line 74
            goto 45
      StackMap locals:
      StackMap stack:
         5: aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            instanceof javax.security.auth.callback.PasswordCallback
            ifeq 8
         6: .line 75
            aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            checkcast javax.security.auth.callback.PasswordCallback
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.passwd:[C
            invokevirtual javax.security.auth.callback.PasswordCallback.setPassword:([C)V
         7: .line 77
            goto 45
      StackMap locals:
      StackMap stack:
         8: aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            instanceof javax.security.sasl.RealmChoiceCallback
            ifeq 33
         9: .line 80
            aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            checkcast javax.security.sasl.RealmChoiceCallback
            invokevirtual javax.security.sasl.RealmChoiceCallback.getChoices:()[Ljava/lang/String;
        10: .line 79
            astore 3 /* choices */
        start local 3 // java.lang.String[] choices
        11: .line 81
            iconst_0
            istore 4 /* selected */
        start local 4 // int selected
        12: .line 83
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authRealm:Ljava/lang/String;
            ifnull 31
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authRealm:Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            ifle 31
        13: .line 84
            iconst_m1
            istore 4 /* selected */
        14: .line 85
            iconst_0
            istore 5 /* j */
        start local 5 // int j
        15: goto 19
        16: .line 86
      StackMap locals: java.lang.String[] int int
      StackMap stack:
            aload 3 /* choices */
            iload 5 /* j */
            aaload
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authRealm:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 18
        17: .line 87
            iload 5 /* j */
            istore 4 /* selected */
        18: .line 85
      StackMap locals:
      StackMap stack:
            iinc 5 /* j */ 1
      StackMap locals:
      StackMap stack:
        19: iload 5 /* j */
            aload 3 /* choices */
            arraylength
            if_icmplt 16
        end local 5 // int j
        20: .line 90
            iload 4 /* selected */
            iconst_m1
            if_icmpne 31
        21: .line 91
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 5 /* allChoices */
        start local 5 // java.lang.StringBuilder allChoices
        22: .line 92
            iconst_0
            istore 6 /* j */
        start local 6 // int j
        23: goto 26
        24: .line 93
      StackMap locals: com.sun.jndi.ldap.sasl.DefaultCallbackHandler javax.security.auth.callback.Callback[] int java.lang.String[] int java.lang.StringBuilder int
      StackMap stack:
            aload 5 /* allChoices */
            aload 3 /* choices */
            iload 6 /* j */
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 44
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        25: .line 92
            iinc 6 /* j */ 1
      StackMap locals:
      StackMap stack:
        26: iload 6 /* j */
            aload 3 /* choices */
            arraylength
            if_icmplt 24
        end local 6 // int j
        27: .line 95
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Cannot match 'java.naming.security.sasl.realm' property value, '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        28: .line 97
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authRealm:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "' with choices "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 5 /* allChoices */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        29: .line 98
            ldc "in RealmChoiceCallback"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        30: .line 95
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 5 // java.lang.StringBuilder allChoices
        31: .line 102
      StackMap locals:
      StackMap stack:
            aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            checkcast javax.security.sasl.RealmChoiceCallback
            iload 4 /* selected */
            invokevirtual javax.security.sasl.RealmChoiceCallback.setSelectedIndex:(I)V
        end local 4 // int selected
        end local 3 // java.lang.String[] choices
        32: .line 104
            goto 45
      StackMap locals:
      StackMap stack:
        33: aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            instanceof javax.security.sasl.RealmCallback
            ifeq 44
        34: .line 106
            aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            checkcast javax.security.sasl.RealmCallback
            astore 3 /* rcb */
        start local 3 // javax.security.sasl.RealmCallback rcb
        35: .line 107
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authRealm:Ljava/lang/String;
            ifnull 38
        36: .line 108
            aload 3 /* rcb */
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.authRealm:Ljava/lang/String;
            invokevirtual javax.security.sasl.RealmCallback.setText:(Ljava/lang/String;)V
        37: .line 109
            goto 45
        38: .line 110
      StackMap locals: javax.security.sasl.RealmCallback
      StackMap stack:
            aload 3 /* rcb */
            invokevirtual javax.security.sasl.RealmCallback.getDefaultText:()Ljava/lang/String;
            astore 4 /* defaultRealm */
        start local 4 // java.lang.String defaultRealm
        39: .line 111
            aload 4 /* defaultRealm */
            ifnull 42
        40: .line 112
            aload 3 /* rcb */
            aload 4 /* defaultRealm */
            invokevirtual javax.security.sasl.RealmCallback.setText:(Ljava/lang/String;)V
        41: .line 113
            goto 45
        42: .line 114
      StackMap locals: java.lang.String
      StackMap stack:
            aload 3 /* rcb */
            ldc ""
            invokevirtual javax.security.sasl.RealmCallback.setText:(Ljava/lang/String;)V
        end local 4 // java.lang.String defaultRealm
        end local 3 // javax.security.sasl.RealmCallback rcb
        43: .line 117
            goto 45
        44: .line 118
      StackMap locals:
      StackMap stack:
            new javax.security.auth.callback.UnsupportedCallbackException
            dup
            aload 1 /* callbacks */
            iload 2 /* i */
            aaload
            invokespecial javax.security.auth.callback.UnsupportedCallbackException.<init>:(Ljavax/security/auth/callback/Callback;)V
            athrow
        45: .line 70
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        46: iload 2 /* i */
            aload 1 /* callbacks */
            arraylength
            if_icmplt 2
        end local 2 // int i
        47: .line 121
            return
        end local 1 // javax.security.auth.callback.Callback[] callbacks
        end local 0 // com.sun.jndi.ldap.sasl.DefaultCallbackHandler this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   48     0          this  Lcom/sun/jndi/ldap/sasl/DefaultCallbackHandler;
            0   48     1     callbacks  [Ljavax/security/auth/callback/Callback;
            1   47     2             i  I
           11   32     3       choices  [Ljava/lang/String;
           12   32     4      selected  I
           15   20     5             j  I
           22   31     5    allChoices  Ljava/lang/StringBuilder;
           23   27     6             j  I
           35   43     3           rcb  Ljavax/security/sasl/RealmCallback;
           39   43     4  defaultRealm  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
    MethodParameters:
           Name  Flags
      callbacks  

  void clearPassword();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.sun.jndi.ldap.sasl.DefaultCallbackHandler this
         0: .line 124
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.passwd:[C
            ifnull 7
         1: .line 125
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         2: goto 5
         3: .line 126
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.passwd:[C
            iload 1 /* i */
            iconst_0
            castore
         4: .line 125
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 1 /* i */
            aload 0 /* this */
            getfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.passwd:[C
            arraylength
            if_icmplt 3
        end local 1 // int i
         6: .line 128
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.sasl.DefaultCallbackHandler.passwd:[C
         7: .line 130
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.sun.jndi.ldap.sasl.DefaultCallbackHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/sun/jndi/ldap/sasl/DefaultCallbackHandler;
            2    6     1     i  I

  protected void finalize();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.jndi.ldap.sasl.DefaultCallbackHandler this
         0: .line 134
            aload 0 /* this */
            invokevirtual com.sun.jndi.ldap.sasl.DefaultCallbackHandler.clearPassword:()V
         1: .line 135
            return
        end local 0 // com.sun.jndi.ldap.sasl.DefaultCallbackHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/jndi/ldap/sasl/DefaultCallbackHandler;
    Exceptions:
      throws java.lang.Throwable
}
SourceFile: "DefaultCallbackHandler.java"