public abstract class com.sun.net.httpserver.BasicAuthenticator extends com.sun.net.httpserver.Authenticator
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: com.sun.net.httpserver.BasicAuthenticator
  super_class: com.sun.net.httpserver.Authenticator
{
  protected java.lang.String realm;
    descriptor: Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED

  public void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.net.httpserver.BasicAuthenticator this
        start local 1 // java.lang.String realm
         0: .line 46
            aload 0 /* this */
            invokespecial com.sun.net.httpserver.Authenticator.<init>:()V
         1: .line 47
            aload 0 /* this */
            aload 1 /* realm */
            putfield com.sun.net.httpserver.BasicAuthenticator.realm:Ljava/lang/String;
         2: .line 48
            return
        end local 1 // java.lang.String realm
        end local 0 // com.sun.net.httpserver.BasicAuthenticator this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lcom/sun/net/httpserver/BasicAuthenticator;
            0    3     1  realm  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      realm  

  public java.lang.String getRealm();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.net.httpserver.BasicAuthenticator this
         0: .line 55
            aload 0 /* this */
            getfield com.sun.net.httpserver.BasicAuthenticator.realm:Ljava/lang/String;
            areturn
        end local 0 // com.sun.net.httpserver.BasicAuthenticator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/net/httpserver/BasicAuthenticator;

  public com.sun.net.httpserver.Authenticator$Result authenticate(com.sun.net.httpserver.HttpExchange);
    descriptor: (Lcom/sun/net/httpserver/HttpExchange;)Lcom/sun/net/httpserver/Authenticator$Result;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=11, args_size=2
        start local 0 // com.sun.net.httpserver.BasicAuthenticator this
        start local 1 // com.sun.net.httpserver.HttpExchange t
         0: .line 60
            aload 1 /* t */
            invokevirtual com.sun.net.httpserver.HttpExchange.getHttpContext:()Lcom/sun/net/httpserver/HttpContext;
            pop
         1: .line 61
            aload 1 /* t */
            invokevirtual com.sun.net.httpserver.HttpExchange.getRequestHeaders:()Lcom/sun/net/httpserver/Headers;
            astore 2 /* rmap */
        start local 2 // com.sun.net.httpserver.Headers rmap
         2: .line 65
            aload 2 /* rmap */
            ldc "Authorization"
            invokevirtual com.sun.net.httpserver.Headers.getFirst:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* auth */
        start local 3 // java.lang.String auth
         3: .line 66
            aload 3 /* auth */
            ifnonnull 7
         4: .line 67
            aload 1 /* t */
            invokevirtual com.sun.net.httpserver.HttpExchange.getResponseHeaders:()Lcom/sun/net/httpserver/Headers;
            astore 4 /* map */
        start local 4 // com.sun.net.httpserver.Headers map
         5: .line 68
            aload 4 /* map */
            ldc "WWW-Authenticate"
            new java.lang.StringBuilder
            dup
            ldc "Basic realm=\""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield com.sun.net.httpserver.BasicAuthenticator.realm:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual com.sun.net.httpserver.Headers.set:(Ljava/lang/String;Ljava/lang/String;)V
         6: .line 69
            new com.sun.net.httpserver.Authenticator$Retry
            dup
            sipush 401
            invokespecial com.sun.net.httpserver.Authenticator$Retry.<init>:(I)V
            areturn
        end local 4 // com.sun.net.httpserver.Headers map
         7: .line 71
      StackMap locals: com.sun.net.httpserver.Headers java.lang.String
      StackMap stack:
            aload 3 /* auth */
            bipush 32
            invokevirtual java.lang.String.indexOf:(I)I
            istore 4 /* sp */
        start local 4 // int sp
         8: .line 72
            iload 4 /* sp */
            iconst_m1
            if_icmpeq 9
            aload 3 /* auth */
            iconst_0
            iload 4 /* sp */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            ldc "Basic"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
         9: .line 73
      StackMap locals: int
      StackMap stack:
            new com.sun.net.httpserver.Authenticator$Failure
            dup
            sipush 401
            invokespecial com.sun.net.httpserver.Authenticator$Failure.<init>:(I)V
            areturn
        10: .line 75
      StackMap locals:
      StackMap stack:
            aload 3 /* auth */
            iload 4 /* sp */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic com.sun.net.httpserver.Base64.base64ToByteArray:(Ljava/lang/String;)[B
            astore 5 /* b */
        start local 5 // byte[] b
        11: .line 76
            new java.lang.String
            dup
            aload 5 /* b */
            invokespecial java.lang.String.<init>:([B)V
            astore 6 /* userpass */
        start local 6 // java.lang.String userpass
        12: .line 77
            aload 6 /* userpass */
            bipush 58
            invokevirtual java.lang.String.indexOf:(I)I
            istore 7 /* colon */
        start local 7 // int colon
        13: .line 78
            aload 6 /* userpass */
            iconst_0
            iload 7 /* colon */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 8 /* uname */
        start local 8 // java.lang.String uname
        14: .line 79
            aload 6 /* userpass */
            iload 7 /* colon */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 9 /* pass */
        start local 9 // java.lang.String pass
        15: .line 81
            aload 0 /* this */
            aload 8 /* uname */
            aload 9 /* pass */
            invokevirtual com.sun.net.httpserver.BasicAuthenticator.checkCredentials:(Ljava/lang/String;Ljava/lang/String;)Z
            ifeq 21
        16: .line 82
            new com.sun.net.httpserver.Authenticator$Success
            dup
        17: .line 83
            new com.sun.net.httpserver.HttpPrincipal
            dup
        18: .line 84
            aload 8 /* uname */
            aload 0 /* this */
            getfield com.sun.net.httpserver.BasicAuthenticator.realm:Ljava/lang/String;
        19: .line 83
            invokespecial com.sun.net.httpserver.HttpPrincipal.<init>:(Ljava/lang/String;Ljava/lang/String;)V
        20: .line 82
            invokespecial com.sun.net.httpserver.Authenticator$Success.<init>:(Lcom/sun/net/httpserver/HttpPrincipal;)V
            areturn
        21: .line 90
      StackMap locals: com.sun.net.httpserver.BasicAuthenticator com.sun.net.httpserver.HttpExchange com.sun.net.httpserver.Headers java.lang.String int byte[] java.lang.String int java.lang.String java.lang.String
      StackMap stack:
            aload 1 /* t */
            invokevirtual com.sun.net.httpserver.HttpExchange.getResponseHeaders:()Lcom/sun/net/httpserver/Headers;
            astore 10 /* map */
        start local 10 // com.sun.net.httpserver.Headers map
        22: .line 91
            aload 10 /* map */
            ldc "WWW-Authenticate"
            new java.lang.StringBuilder
            dup
            ldc "Basic realm=\""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield com.sun.net.httpserver.BasicAuthenticator.realm:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual com.sun.net.httpserver.Headers.set:(Ljava/lang/String;Ljava/lang/String;)V
        23: .line 92
            new com.sun.net.httpserver.Authenticator$Failure
            dup
            sipush 401
            invokespecial com.sun.net.httpserver.Authenticator$Failure.<init>:(I)V
            areturn
        end local 10 // com.sun.net.httpserver.Headers map
        end local 9 // java.lang.String pass
        end local 8 // java.lang.String uname
        end local 7 // int colon
        end local 6 // java.lang.String userpass
        end local 5 // byte[] b
        end local 4 // int sp
        end local 3 // java.lang.String auth
        end local 2 // com.sun.net.httpserver.Headers rmap
        end local 1 // com.sun.net.httpserver.HttpExchange t
        end local 0 // com.sun.net.httpserver.BasicAuthenticator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   24     0      this  Lcom/sun/net/httpserver/BasicAuthenticator;
            0   24     1         t  Lcom/sun/net/httpserver/HttpExchange;
            2   24     2      rmap  Lcom/sun/net/httpserver/Headers;
            3   24     3      auth  Ljava/lang/String;
            5    7     4       map  Lcom/sun/net/httpserver/Headers;
            8   24     4        sp  I
           11   24     5         b  [B
           12   24     6  userpass  Ljava/lang/String;
           13   24     7     colon  I
           14   24     8     uname  Ljava/lang/String;
           15   24     9      pass  Ljava/lang/String;
           22   24    10       map  Lcom/sun/net/httpserver/Headers;
    MethodParameters:
      Name  Flags
      t     

  public abstract boolean checkCredentials(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
          Name  Flags
      username  
      password  
}
SourceFile: "BasicAuthenticator.java"
InnerClasses:
  public Failure = com.sun.net.httpserver.Authenticator$Failure of com.sun.net.httpserver.Authenticator
  public abstract Result = com.sun.net.httpserver.Authenticator$Result of com.sun.net.httpserver.Authenticator
  public Retry = com.sun.net.httpserver.Authenticator$Retry of com.sun.net.httpserver.Authenticator
  public Success = com.sun.net.httpserver.Authenticator$Success of com.sun.net.httpserver.Authenticator