public class sun.net.www.protocol.http.spnego.NegotiatorImpl extends sun.net.www.protocol.http.Negotiator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.www.protocol.http.spnego.NegotiatorImpl
super_class: sun.net.www.protocol.http.Negotiator
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.ietf.jgss.GSSContext context;
descriptor: Lorg/ietf/jgss/GSSContext;
flags: (0x0002) ACC_PRIVATE
private byte[] oneToken;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.security.action.GetBooleanAction
dup
ldc "sun.security.krb5.debug"
invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
2: putstatic sun.net.www.protocol.http.spnego.NegotiatorImpl.DEBUG:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
private void init(sun.net.www.protocol.http.HttpCallerInfo);
descriptor: (Lsun/net/www/protocol/http/HttpCallerInfo;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.net.www.protocol.http.HttpCallerInfo.scheme:Ljava/lang/String;
ldc "Kerberos"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: getstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID:Lorg/ietf/jgss/Oid;
astore 2
start local 2 2: goto 9
end local 2 3: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.spnego.NegotiatorImpl$1
dup
aload 0
invokespecial sun.net.www.protocol.http.spnego.NegotiatorImpl$1.<init>:(Lsun/net/www/protocol/http/spnego/NegotiatorImpl;)V
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 3
ldc "kerberos"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: getstatic sun.security.jgss.GSSUtil.GSS_KRB5_MECH_OID:Lorg/ietf/jgss/Oid;
astore 2
start local 2 7: goto 9
end local 2 8: StackMap locals: sun.net.www.protocol.http.spnego.NegotiatorImpl sun.net.www.protocol.http.HttpCallerInfo top java.lang.String
StackMap stack:
getstatic sun.security.jgss.GSSUtil.GSS_SPNEGO_MECH_OID:Lorg/ietf/jgss/Oid;
astore 2
end local 3 start local 2 9: StackMap locals: sun.net.www.protocol.http.spnego.NegotiatorImpl sun.net.www.protocol.http.HttpCallerInfo org.ietf.jgss.Oid
StackMap stack:
new sun.security.jgss.GSSManagerImpl
dup
10: new sun.security.jgss.HttpCaller
dup
aload 1
invokespecial sun.security.jgss.HttpCaller.<init>:(Lsun/net/www/protocol/http/HttpCallerInfo;)V
11: invokespecial sun.security.jgss.GSSManagerImpl.<init>:(Lsun/security/jgss/GSSCaller;)V
astore 3
start local 3 12: new java.lang.StringBuilder
dup
ldc "HTTP@"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield sun.net.www.protocol.http.HttpCallerInfo.host:Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()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 13: aload 3
aload 4
14: getstatic org.ietf.jgss.GSSName.NT_HOSTBASED_SERVICE:Lorg/ietf/jgss/Oid;
15: invokevirtual sun.security.jgss.GSSManagerImpl.createName:(Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lorg/ietf/jgss/GSSName;
astore 5
start local 5 16: aload 0
aload 3
aload 5
17: aload 2
18: aconst_null
19: iconst_0
20: invokevirtual sun.security.jgss.GSSManagerImpl.createContext:(Lorg/ietf/jgss/GSSName;Lorg/ietf/jgss/Oid;Lorg/ietf/jgss/GSSCredential;I)Lorg/ietf/jgss/GSSContext;
putfield sun.net.www.protocol.http.spnego.NegotiatorImpl.context:Lorg/ietf/jgss/GSSContext;
21: aload 0
getfield sun.net.www.protocol.http.spnego.NegotiatorImpl.context:Lorg/ietf/jgss/GSSContext;
instanceof sun.security.jgss.GSSContextImpl
ifeq 23
22: aload 0
getfield sun.net.www.protocol.http.spnego.NegotiatorImpl.context:Lorg/ietf/jgss/GSSContext;
checkcast sun.security.jgss.GSSContextImpl
iconst_1
invokevirtual sun.security.jgss.GSSContextImpl.requestDelegPolicy:(Z)V
23: StackMap locals: sun.security.jgss.GSSManagerImpl java.lang.String org.ietf.jgss.GSSName
StackMap stack:
aload 0
aload 0
getfield sun.net.www.protocol.http.spnego.NegotiatorImpl.context:Lorg/ietf/jgss/GSSContext;
iconst_0
newarray 8
iconst_0
iconst_0
invokeinterface org.ietf.jgss.GSSContext.initSecContext:([BII)[B
putfield sun.net.www.protocol.http.spnego.NegotiatorImpl.oneToken:[B
24: 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 25 0 this Lsun/net/www/protocol/http/spnego/NegotiatorImpl;
0 25 1 hci Lsun/net/www/protocol/http/HttpCallerInfo;
2 3 2 oid Lorg/ietf/jgss/Oid;
7 8 2 oid Lorg/ietf/jgss/Oid;
9 25 2 oid Lorg/ietf/jgss/Oid;
5 9 3 pref Ljava/lang/String;
12 25 3 manager Lsun/security/jgss/GSSManagerImpl;
13 25 4 peerName Ljava/lang/String;
16 25 5 serverName Lorg/ietf/jgss/GSSName;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
hci
public void <init>(sun.net.www.protocol.http.HttpCallerInfo);
descriptor: (Lsun/net/www/protocol/http/HttpCallerInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.net.www.protocol.http.Negotiator.<init>:()V
1: aload 0
aload 1
invokevirtual sun.net.www.protocol.http.spnego.NegotiatorImpl.init:(Lsun/net/www/protocol/http/HttpCallerInfo;)V
2: goto 10
StackMap locals: sun.net.www.protocol.http.spnego.NegotiatorImpl sun.net.www.protocol.http.HttpCallerInfo
StackMap stack: org.ietf.jgss.GSSException
3: astore 2
start local 2 4: getstatic sun.net.www.protocol.http.spnego.NegotiatorImpl.DEBUG:Z
ifeq 7
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Negotiate support not initiated, will fallback to other scheme if allowed. Reason:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: aload 2
invokevirtual org.ietf.jgss.GSSException.printStackTrace:()V
7: StackMap locals: org.ietf.jgss.GSSException
StackMap stack:
new java.io.IOException
dup
ldc "Negotiate support not initiated"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 8: aload 3
aload 2
invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
9: aload 3
athrow
end local 3 end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/net/www/protocol/http/spnego/NegotiatorImpl;
0 11 1 hci Lsun/net/www/protocol/http/HttpCallerInfo;
4 10 2 e Lorg/ietf/jgss/GSSException;
8 10 3 ioe Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class org.ietf.jgss.GSSException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hci
public byte[] firstToken();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.spnego.NegotiatorImpl.oneToken:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/spnego/NegotiatorImpl;
public byte[] nextToken(byte[]);
descriptor: ([B)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.www.protocol.http.spnego.NegotiatorImpl.context:Lorg/ietf/jgss/GSSContext;
aload 1
iconst_0
aload 1
arraylength
invokeinterface org.ietf.jgss.GSSContext.initSecContext:([BII)[B
1: areturn
2: StackMap locals:
StackMap stack: org.ietf.jgss.GSSException
astore 2
start local 2 3: getstatic sun.net.www.protocol.http.spnego.NegotiatorImpl.DEBUG:Z
ifeq 6
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Negotiate support cannot continue. Reason:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 2
invokevirtual org.ietf.jgss.GSSException.printStackTrace:()V
6: StackMap locals: org.ietf.jgss.GSSException
StackMap stack:
new java.io.IOException
dup
ldc "Negotiate support cannot continue"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 7: aload 3
aload 2
invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
8: aload 3
athrow
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/spnego/NegotiatorImpl;
0 9 1 token [B
3 9 2 e Lorg/ietf/jgss/GSSException;
7 9 3 ioe Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class org.ietf.jgss.GSSException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
token
}
SourceFile: "NegotiatorImpl.java"
NestMembers:
sun.net.www.protocol.http.spnego.NegotiatorImpl$1
InnerClasses:
sun.net.www.protocol.http.spnego.NegotiatorImpl$1