class sun.net.www.protocol.http.NegotiateAuthentication extends sun.net.www.protocol.http.AuthenticationInfo
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.www.protocol.http.NegotiateAuthentication
super_class: sun.net.www.protocol.http.AuthenticationInfo
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
private static final sun.util.logging.PlatformLogger logger;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final sun.net.www.protocol.http.HttpCallerInfo hci;
descriptor: Lsun/net/www/protocol/http/HttpCallerInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static java.util.HashMap<java.lang.String, java.lang.Boolean> supported;
descriptor: Ljava/util/HashMap;
flags: (0x0008) ACC_STATIC
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Boolean;>;
static java.lang.ThreadLocal<java.util.HashMap<java.lang.String, sun.net.www.protocol.http.Negotiator>> cache;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/ThreadLocal<Ljava/util/HashMap<Ljava/lang/String;Lsun/net/www/protocol/http/Negotiator;>;>;
private static final boolean cacheSPNEGO;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private sun.net.www.protocol.http.Negotiator negotiator;
descriptor: Lsun/net/www/protocol/http/Negotiator;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic sun.net.www.protocol.http.HttpURLConnection.getHttpLogger:()Lsun/util/logging/PlatformLogger;
putstatic sun.net.www.protocol.http.NegotiateAuthentication.logger:Lsun/util/logging/PlatformLogger;
1: aconst_null
putstatic sun.net.www.protocol.http.NegotiateAuthentication.supported:Ljava/util/HashMap;
2: aconst_null
putstatic sun.net.www.protocol.http.NegotiateAuthentication.cache:Ljava/lang/ThreadLocal;
3: ldc "jdk.spnego.cache"
ldc "true"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
4: astore 0
start local 0 5: aload 0
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.net.www.protocol.http.NegotiateAuthentication.cacheSPNEGO:Z
end local 0 6: return
LocalVariableTable:
Start End Slot Name Signature
5 6 0 spnegoCacheProp Ljava/lang/String;
public void <init>(sun.net.www.protocol.http.HttpCallerInfo);
descriptor: (Lsun/net/www/protocol/http/HttpCallerInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.net.Authenticator$RequestorType.PROXY:Ljava/net/Authenticator$RequestorType;
aload 1
getfield sun.net.www.protocol.http.HttpCallerInfo.authType:Ljava/net/Authenticator$RequestorType;
if_acmpne 1
bipush 112
goto 2
StackMap locals:
StackMap stack: uninitialized-this
1: bipush 115
2: StackMap locals: uninitialized-this sun.net.www.protocol.http.HttpCallerInfo
StackMap stack: uninitialized-this int
aload 1
getfield sun.net.www.protocol.http.HttpCallerInfo.scheme:Ljava/lang/String;
ldc "Negotiate"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
getstatic sun.net.www.protocol.http.AuthScheme.NEGOTIATE:Lsun/net/www/protocol/http/AuthScheme;
goto 4
StackMap locals: uninitialized-this sun.net.www.protocol.http.HttpCallerInfo
StackMap stack: uninitialized-this int
3: getstatic sun.net.www.protocol.http.AuthScheme.KERBEROS:Lsun/net/www/protocol/http/AuthScheme;
4: StackMap locals: uninitialized-this sun.net.www.protocol.http.HttpCallerInfo
StackMap stack: uninitialized-this int sun.net.www.protocol.http.AuthScheme
aload 1
getfield sun.net.www.protocol.http.HttpCallerInfo.url:Ljava/net/URL;
5: ldc ""
6: aload 1
getfield sun.net.www.protocol.http.HttpCallerInfo.authenticator:Ljava/net/Authenticator;
invokestatic sun.net.www.protocol.http.AuthenticatorKeys.getKey:(Ljava/net/Authenticator;)Ljava/lang/String;
invokespecial sun.net.www.protocol.http.AuthenticationInfo.<init>:(CLsun/net/www/protocol/http/AuthScheme;Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;)V
7: aload 0
aconst_null
putfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
8: aload 0
aload 1
putfield sun.net.www.protocol.http.NegotiateAuthentication.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/net/www/protocol/http/NegotiateAuthentication;
0 10 1 hci Lsun/net/www/protocol/http/HttpCallerInfo;
MethodParameters:
Name Flags
hci
public boolean supportsPreemptiveAuthorization();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/NegotiateAuthentication;
public static boolean isSupported(sun.net.www.protocol.http.HttpCallerInfo);
descriptor: (Lsun/net/www/protocol/http/HttpCallerInfo;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
2: goto 8
StackMap locals: sun.net.www.protocol.http.HttpCallerInfo java.lang.ClassLoader
StackMap stack: java.lang.SecurityException
3: astore 2
start local 2 4: getstatic sun.net.www.protocol.http.NegotiateAuthentication.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 8
5: getstatic sun.net.www.protocol.http.NegotiateAuthentication.logger:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "NegotiateAuthentication: Attempt to get the context class loader failed - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
end local 2 8: StackMap locals:
StackMap stack:
aload 1
ifnull 14
9: aload 1
dup
astore 2
monitorenter
10: aload 0
invokestatic sun.net.www.protocol.http.NegotiateAuthentication.isSupportedImpl:(Lsun/net/www/protocol/http/HttpCallerInfo;)Z
aload 2
monitorexit
11: ireturn
12: StackMap locals: sun.net.www.protocol.http.HttpCallerInfo java.lang.ClassLoader java.lang.ClassLoader
StackMap stack: java.lang.Throwable
aload 2
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.net.www.protocol.http.NegotiateAuthentication.isSupportedImpl:(Lsun/net/www/protocol/http/HttpCallerInfo;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 hci Lsun/net/www/protocol/http/HttpCallerInfo;
1 15 1 loader Ljava/lang/ClassLoader;
4 8 2 se Ljava/lang/SecurityException;
Exception table:
from to target type
1 2 3 Class java.lang.SecurityException
10 11 12 any
12 13 12 any
MethodParameters:
Name Flags
hci
private static synchronized boolean isSupportedImpl(sun.net.www.protocol.http.HttpCallerInfo);
descriptor: (Lsun/net/www/protocol/http/HttpCallerInfo;)Z
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic sun.net.www.protocol.http.NegotiateAuthentication.supported:Ljava/util/HashMap;
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic sun.net.www.protocol.http.NegotiateAuthentication.supported:Ljava/util/HashMap;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpCallerInfo.host:Ljava/lang/String;
astore 1
start local 1 3: aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 1
4: getstatic sun.net.www.protocol.http.NegotiateAuthentication.supported:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 6
5: getstatic sun.net.www.protocol.http.NegotiateAuthentication.supported:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokestatic sun.net.www.protocol.http.Negotiator.getNegotiator:(Lsun/net/www/protocol/http/HttpCallerInfo;)Lsun/net/www/protocol/http/Negotiator;
astore 2
start local 2 7: aload 2
ifnull 13
8: getstatic sun.net.www.protocol.http.NegotiateAuthentication.supported:Ljava/util/HashMap;
aload 1
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: getstatic sun.net.www.protocol.http.NegotiateAuthentication.cache:Ljava/lang/ThreadLocal;
ifnonnull 11
10: new sun.net.www.protocol.http.NegotiateAuthentication$1
dup
invokespecial sun.net.www.protocol.http.NegotiateAuthentication$1.<init>:()V
putstatic sun.net.www.protocol.http.NegotiateAuthentication.cache:Ljava/lang/ThreadLocal;
11: StackMap locals: sun.net.www.protocol.http.Negotiator
StackMap stack:
getstatic sun.net.www.protocol.http.NegotiateAuthentication.cache:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.HashMap
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NegotiateAuthentication.supported:Ljava/util/HashMap;
aload 1
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 hci Lsun/net/www/protocol/http/HttpCallerInfo;
3 15 1 hostname Ljava/lang/String;
7 15 2 neg Lsun/net/www/protocol/http/Negotiator;
MethodParameters:
Name Flags
hci
private static synchronized java.util.HashMap<java.lang.String, sun.net.www.protocol.http.Negotiator> getCache();
descriptor: ()Ljava/util/HashMap;
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.net.www.protocol.http.NegotiateAuthentication.cache:Ljava/lang/ThreadLocal;
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.NegotiateAuthentication.cache:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.HashMap
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/HashMap<Ljava/lang/String;Lsun/net/www/protocol/http/Negotiator;>;
protected boolean useAuthCache();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.net.www.protocol.http.AuthenticationInfo.useAuthCache:()Z
ifeq 1
getstatic sun.net.www.protocol.http.NegotiateAuthentication.cacheSPNEGO:Z
ifeq 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/NegotiateAuthentication;
public java.lang.String (java.net.URL, java.lang.String);
descriptor: (Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.RuntimeException
dup
ldc "getHeaderValue not supported"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/NegotiateAuthentication;
0 1 1 url Ljava/net/URL;
0 1 2 method Ljava/lang/String;
MethodParameters:
Name Flags
url
method
public boolean isAuthorizationStale(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/NegotiateAuthentication;
0 1 1 header Ljava/lang/String;
MethodParameters:
Name Flags
header
public synchronized boolean (sun.net.www.protocol.http.HttpURLConnection, sun.net.www.HeaderParser, java.lang.String);
descriptor: (Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 5
start local 5 1: aload 3
ldc "\\s+"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 6
start local 6 2: aload 6
arraylength
iconst_1
if_icmple 4
3: invokestatic java.util.Base64.getDecoder:()Ljava/util/Base64$Decoder;
aload 6
iconst_1
aaload
invokevirtual java.util.Base64$Decoder.decode:(Ljava/lang/String;)[B
astore 5
4: StackMap locals: sun.net.www.protocol.http.NegotiateAuthentication sun.net.www.protocol.http.HttpURLConnection sun.net.www.HeaderParser java.lang.String top byte[] java.lang.String[]
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield sun.net.www.protocol.http.NegotiateAuthentication.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
getfield sun.net.www.protocol.http.HttpCallerInfo.scheme:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
5: aload 5
ifnonnull 6
aload 0
invokevirtual sun.net.www.protocol.http.NegotiateAuthentication.firstToken:()[B
goto 7
StackMap locals: sun.net.www.protocol.http.NegotiateAuthentication sun.net.www.protocol.http.HttpURLConnection sun.net.www.HeaderParser java.lang.String top byte[] java.lang.String[]
StackMap stack: java.lang.StringBuilder java.util.Base64$Encoder
6: aload 0
aload 5
invokevirtual sun.net.www.protocol.http.NegotiateAuthentication.nextToken:([B)[B
7: StackMap locals: sun.net.www.protocol.http.NegotiateAuthentication sun.net.www.protocol.http.HttpURLConnection sun.net.www.HeaderParser java.lang.String top byte[] java.lang.String[]
StackMap stack: java.lang.StringBuilder java.util.Base64$Encoder byte[]
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 8: aload 1
aload 0
invokevirtual sun.net.www.protocol.http.NegotiateAuthentication.getHeaderName:()Ljava/lang/String;
aload 4
invokevirtual sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty:(Ljava/lang/String;Ljava/lang/String;)V
9: iconst_1
ireturn
end local 6 end local 5 end local 4 10: StackMap locals: sun.net.www.protocol.http.NegotiateAuthentication sun.net.www.protocol.http.HttpURLConnection sun.net.www.HeaderParser java.lang.String
StackMap stack: java.io.IOException
pop
11: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/net/www/protocol/http/NegotiateAuthentication;
0 12 1 conn Lsun/net/www/protocol/http/HttpURLConnection;
0 12 2 p Lsun/net/www/HeaderParser;
0 12 3 raw Ljava/lang/String;
8 10 4 response Ljava/lang/String;
1 10 5 incoming [B
2 10 6 parts [Ljava/lang/String;
Exception table:
from to target type
0 9 10 Class java.io.IOException
MethodParameters:
Name Flags
conn
p
raw
private byte[] firstToken();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
1: invokestatic sun.net.www.protocol.http.NegotiateAuthentication.getCache:()Ljava/util/HashMap;
astore 1
start local 1 2: aload 1
ifnull 6
3: aload 0
aload 1
aload 0
invokevirtual sun.net.www.protocol.http.NegotiateAuthentication.getHost:()Ljava/lang/String;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.net.www.protocol.http.Negotiator
putfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
4: aload 0
getfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
ifnull 6
5: aload 1
aload 0
invokevirtual sun.net.www.protocol.http.NegotiateAuthentication.getHost:()Ljava/lang/String;
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: java.util.HashMap
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
ifnonnull 11
7: aload 0
aload 0
getfield sun.net.www.protocol.http.NegotiateAuthentication.hci:Lsun/net/www/protocol/http/HttpCallerInfo;
invokestatic sun.net.www.protocol.http.Negotiator.getNegotiator:(Lsun/net/www/protocol/http/HttpCallerInfo;)Lsun/net/www/protocol/http/Negotiator;
putfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
8: aload 0
getfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
ifnonnull 11
9: new java.io.IOException
dup
ldc "Cannot initialize Negotiator"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 2
start local 2 10: aload 2
athrow
end local 2 11: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
invokevirtual sun.net.www.protocol.http.Negotiator.firstToken:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/net/www/protocol/http/NegotiateAuthentication;
2 12 1 cachedMap Ljava/util/HashMap<Ljava/lang/String;Lsun/net/www/protocol/http/Negotiator;>;
10 11 2 ioe Ljava/io/IOException;
Exceptions:
throws java.io.IOException
private byte[] nextToken(byte[]);
descriptor: ([B)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.www.protocol.http.NegotiateAuthentication.negotiator:Lsun/net/www/protocol/http/Negotiator;
aload 1
invokevirtual sun.net.www.protocol.http.Negotiator.nextToken:([B)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/NegotiateAuthentication;
0 1 1 token [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
token
}
SourceFile: "NegotiateAuthentication.java"
NestMembers:
sun.net.www.protocol.http.NegotiateAuthentication$1
InnerClasses:
public final RequestorType = java.net.Authenticator$RequestorType of java.net.Authenticator
public Decoder = java.util.Base64$Decoder of java.util.Base64
public Encoder = java.util.Base64$Encoder of java.util.Base64
sun.net.www.protocol.http.NegotiateAuthentication$1
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger