public class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.www.protocol.http.AuthenticationHeader
super_class: java.lang.Object
{
sun.net.www.MessageHeader ;
descriptor: Lsun/net/www/MessageHeader;
flags: (0x0000)
sun.net.www.HeaderParser ;
descriptor: Lsun/net/www/HeaderParser;
flags: (0x0000)
java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0000)
private final sun.net.www.protocol.http.HttpCallerInfo ;
descriptor: Lsun/net/www/protocol/http/HttpCallerInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
boolean ;
descriptor: Z
flags: (0x0000)
static java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0008) ACC_STATIC
java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.util.HashMap<java.lang.String, sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue> ;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/lang/String;Lsun/net/www/protocol/http/AuthenticationHeader$SchemeMapValue;>;
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: aconst_null
putstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
1: new sun.security.action.GetPropertyAction
dup
ldc "http.auth.preference"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
3: getstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
ifnull 7
4: getstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
putstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
5: getstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
ldc "spnego"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
getstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
ldc "kerberos"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: StackMap locals:
StackMap stack:
ldc "negotiate"
putstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
7: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "AuthenticationHeader: prefer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.preferred_r:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
public void (java.lang.String, sun.net.www.MessageHeader, sun.net.www.protocol.http.HttpCallerInfo, boolean);
descriptor: (Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
iload 4
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokespecial sun.net.www.protocol.http.AuthenticationHeader.<init>:(Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;ZLjava/util/Set;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
0 2 1 hdrname Ljava/lang/String;
0 2 2 response Lsun/net/www/MessageHeader;
0 2 3 hci Lsun/net/www/protocol/http/HttpCallerInfo;
0 2 4 dontUseNegotiate Z
MethodParameters:
Name Flags
hdrname
response
hci
dontUseNegotiate
public void <init>(java.lang.String, sun.net.www.MessageHeader, sun.net.www.protocol.http.HttpCallerInfo, boolean, java.util.Set<java.lang.String>);
descriptor: (Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;ZLjava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.net.www.protocol.http.AuthenticationHeader.dontUseNegotiate:Z
2: aload 0
aload 3
putfield sun.net.www.protocol.http.AuthenticationHeader.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
3: aload 0
iload 4
putfield sun.net.www.protocol.http.AuthenticationHeader.dontUseNegotiate:Z
4: aload 0
aload 2
putfield sun.net.www.protocol.http.AuthenticationHeader.rsp:Lsun/net/www/MessageHeader;
5: aload 0
aload 1
putfield sun.net.www.protocol.http.AuthenticationHeader.hdrname:Ljava/lang/String;
6: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
7: aload 0
aload 5
invokevirtual sun.net.www.protocol.http.AuthenticationHeader.parse:(Ljava/util/Set;)V
8: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
0 9 1 hdrname Ljava/lang/String;
0 9 2 response Lsun/net/www/MessageHeader;
0 9 3 hci Lsun/net/www/protocol/http/HttpCallerInfo;
0 9 4 dontUseNegotiate Z
0 9 5 disabledSchemes Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/lang/String;Lsun/net/www/MessageHeader;Lsun/net/www/protocol/http/HttpCallerInfo;ZLjava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
hdrname
response
hci
dontUseNegotiate
disabledSchemes
public sun.net.www.protocol.http.HttpCallerInfo ();
descriptor: ()Lsun/net/www/protocol/http/HttpCallerInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
private void parse(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.rsp:Lsun/net/www/MessageHeader;
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.hdrname:Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.multiValueIterator:(Ljava/lang/String;)Ljava/util/Iterator;
astore 2
start local 2 1: goto 23
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: new sun.net.www.HeaderParser
dup
aload 3
invokespecial sun.net.www.HeaderParser.<init>:(Ljava/lang/String;)V
astore 4
start local 4 4: aload 4
invokevirtual sun.net.www.HeaderParser.keys:()Ljava/util/Iterator;
astore 5
start local 5 5: iconst_0
istore 6
start local 6 6: iconst_m1
istore 7
start local 7 7: goto 17
8: StackMap locals: sun.net.www.protocol.http.AuthenticationHeader java.util.Set java.util.Iterator java.lang.String sun.net.www.HeaderParser java.util.Iterator int int
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
pop
9: aload 4
iload 6
invokevirtual sun.net.www.HeaderParser.findValue:(I)Ljava/lang/String;
ifnonnull 16
10: iload 7
iconst_m1
if_icmpeq 15
11: aload 4
iload 7
iload 6
invokevirtual sun.net.www.HeaderParser.subsequence:(II)Lsun/net/www/HeaderParser;
astore 8
start local 8 12: aload 8
iconst_0
invokevirtual sun.net.www.HeaderParser.findKey:(I)Ljava/lang/String;
astore 9
start local 9 13: aload 1
aload 9
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 15
14: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
aload 9
new sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
dup
aload 8
aload 3
invokespecial sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue.<init>:(Lsun/net/www/HeaderParser;Ljava/lang/String;)V
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 15: StackMap locals:
StackMap stack:
iload 6
istore 7
16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
18: iload 6
iload 7
if_icmple 23
19: aload 4
iload 7
iload 6
invokevirtual sun.net.www.HeaderParser.subsequence:(II)Lsun/net/www/HeaderParser;
astore 8
start local 8 20: aload 8
iconst_0
invokevirtual sun.net.www.HeaderParser.findKey:(I)Ljava/lang/String;
astore 9
start local 9 21: aload 1
aload 9
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 23
22: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
aload 9
new sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
dup
aload 8
aload 3
invokespecial sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue.<init>:(Lsun/net/www/HeaderParser;Ljava/lang/String;)V
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 23: StackMap locals: sun.net.www.protocol.http.AuthenticationHeader java.util.Set java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
24: aconst_null
astore 3
start local 3 25: getstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
ifnull 26
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
getstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
dup
astore 3
ifnonnull 44
26: StackMap locals: sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
StackMap stack:
aload 3
ifnonnull 32
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.dontUseNegotiate:Z
ifne 32
27: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
ldc "negotiate"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
astore 4
start local 4 28: aload 4
ifnull 32
29: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
ifnull 30
new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
ldc "Negotiate"
invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;Ljava/lang/String;)V
invokestatic sun.net.www.protocol.http.NegotiateAuthentication.isSupported:(Lsun/net/www/protocol/http/HttpCallerInfo;)Z
ifne 31
30: StackMap locals: sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
StackMap stack:
aconst_null
astore 4
31: StackMap locals:
StackMap stack:
aload 4
astore 3
end local 4 32: StackMap locals:
StackMap stack:
aload 3
ifnonnull 38
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.dontUseNegotiate:Z
ifne 38
33: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
ldc "kerberos"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
astore 4
start local 4 34: aload 4
ifnull 38
35: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
ifnull 36
new sun.net.www.protocol.http.HttpCallerInfo
dup
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
ldc "Kerberos"
invokespecial sun.net.www.protocol.http.HttpCallerInfo.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;Ljava/lang/String;)V
invokestatic sun.net.www.protocol.http.NegotiateAuthentication.isSupported:(Lsun/net/www/protocol/http/HttpCallerInfo;)Z
ifne 37
36: StackMap locals: sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
StackMap stack:
aconst_null
astore 4
37: StackMap locals:
StackMap stack:
aload 4
astore 3
end local 4 38: StackMap locals:
StackMap stack:
aload 3
ifnonnull 46
39: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
ldc "digest"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
dup
astore 3
ifnonnull 46
40: getstatic sun.net.www.protocol.http.NTLMAuthenticationProxy.supported:Z
ifeq 42
41: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
ldc "ntlm"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
dup
astore 3
ifnonnull 46
42: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.schemes:Ljava/util/HashMap;
ldc "basic"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
astore 3
43: goto 46
44: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.dontUseNegotiate:Z
ifeq 46
getstatic sun.net.www.protocol.http.AuthenticationHeader.authPref:Ljava/lang/String;
ldc "negotiate"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
45: aconst_null
astore 3
46: StackMap locals:
StackMap stack:
aload 3
ifnull 49
47: aload 0
aload 3
getfield sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue.parser:Lsun/net/www/HeaderParser;
putfield sun.net.www.protocol.http.AuthenticationHeader.preferred:Lsun/net/www/HeaderParser;
48: aload 0
aload 3
getfield sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue.raw:Ljava/lang/String;
putfield sun.net.www.protocol.http.AuthenticationHeader.preferred_r:Ljava/lang/String;
49: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
0 50 1 disabledSchemes Ljava/util/Set<Ljava/lang/String;>;
1 50 2 iter Ljava/util/Iterator<Ljava/lang/String;>;
3 23 3 raw Ljava/lang/String;
4 23 4 hp Lsun/net/www/HeaderParser;
5 23 5 keys Ljava/util/Iterator<Ljava/lang/String;>;
6 23 6 i I
7 23 7 lastSchemeIndex I
12 15 8 hpn Lsun/net/www/HeaderParser;
13 15 9 scheme Ljava/lang/String;
20 23 8 hpn Lsun/net/www/HeaderParser;
21 23 9 scheme Ljava/lang/String;
25 50 3 v Lsun/net/www/protocol/http/AuthenticationHeader$SchemeMapValue;
28 32 4 tmp Lsun/net/www/protocol/http/AuthenticationHeader$SchemeMapValue;
34 38 4 tmp Lsun/net/www/protocol/http/AuthenticationHeader$SchemeMapValue;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
disabledSchemes
public sun.net.www.HeaderParser ();
descriptor: ()Lsun/net/www/HeaderParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.preferred:Lsun/net/www/HeaderParser;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.preferred:Lsun/net/www/HeaderParser;
ifnull 2
1: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.preferred:Lsun/net/www/HeaderParser;
iconst_0
invokevirtual sun.net.www.HeaderParser.findKey:(I)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.preferred_r:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.AuthenticationHeader.preferred:Lsun/net/www/HeaderParser;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/http/AuthenticationHeader;
}
SourceFile: "AuthenticationHeader.java"
NestMembers:
sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue
InnerClasses:
SchemeMapValue = sun.net.www.protocol.http.AuthenticationHeader$SchemeMapValue of sun.net.www.protocol.http.AuthenticationHeader