public final class sun.security.krb5.KdcComm
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.krb5.KdcComm
super_class: java.lang.Object
{
private static int defaultKdcRetryLimit;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int defaultKdcTimeout;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int defaultUdpPrefLimit;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static int tryLessMaxRetries;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int tryLessTimeout;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.security.krb5.KdcComm$BpType badPolicy;
descriptor: Lsun/security/krb5/KdcComm$BpType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.String realm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.security.krb5.internal.Krb5.DEBUG:Z
putstatic sun.security.krb5.KdcComm.DEBUG:Z
1: iconst_1
putstatic sun.security.krb5.KdcComm.tryLessMaxRetries:I
2: sipush 5000
putstatic sun.security.krb5.KdcComm.tryLessTimeout:I
3: invokestatic sun.security.krb5.KdcComm.initStatic:()V
4: return
LocalVariableTable:
Start End Slot Name Signature
public static void initStatic();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=0
0: new sun.security.krb5.KdcComm$1
dup
invokespecial sun.security.krb5.KdcComm$1.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 2: aload 0
ifnull 25
3: aload 0
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 0
4: aload 0
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 5: ldc "tryless"
aload 1
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
6: aload 1
arraylength
iconst_1
if_icmple 18
7: aload 1
iconst_1
aaload
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 8: aload 2
iconst_0
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 9: aload 2
arraylength
iconst_1
if_icmple 11
10: aload 2
iconst_1
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic sun.security.krb5.KdcComm.tryLessTimeout:I
11: StackMap locals: java.lang.String java.lang.String[] java.lang.String[] int
StackMap stack:
iload 3
putstatic sun.security.krb5.KdcComm.tryLessMaxRetries:I
end local 3 12: goto 18
StackMap locals: java.lang.String java.lang.String[] java.lang.String[]
StackMap stack: java.lang.NumberFormatException
13: pop
14: getstatic sun.security.krb5.KdcComm.DEBUG:Z
ifeq 18
15: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Invalid krb5.kdc.bad.policy parameter for tryLess: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", use default"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 18: StackMap locals:
StackMap stack:
getstatic sun.security.krb5.KdcComm$BpType.TRY_LESS:Lsun/security/krb5/KdcComm$BpType;
putstatic sun.security.krb5.KdcComm.badPolicy:Lsun/security/krb5/KdcComm$BpType;
19: goto 26
StackMap locals:
StackMap stack:
20: ldc "trylast"
aload 1
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: getstatic sun.security.krb5.KdcComm$BpType.TRY_LAST:Lsun/security/krb5/KdcComm$BpType;
putstatic sun.security.krb5.KdcComm.badPolicy:Lsun/security/krb5/KdcComm$BpType;
22: goto 26
23: StackMap locals:
StackMap stack:
getstatic sun.security.krb5.KdcComm$BpType.NONE:Lsun/security/krb5/KdcComm$BpType;
putstatic sun.security.krb5.KdcComm.badPolicy:Lsun/security/krb5/KdcComm$BpType;
end local 1 24: goto 26
25: StackMap locals:
StackMap stack:
getstatic sun.security.krb5.KdcComm$BpType.NONE:Lsun/security/krb5/KdcComm$BpType;
putstatic sun.security.krb5.KdcComm.badPolicy:Lsun/security/krb5/KdcComm$BpType;
26: StackMap locals:
StackMap stack:
iconst_m1
istore 1
start local 1 27: iconst_m1
istore 2
start local 2 28: iconst_m1
istore 3
start local 3 29: invokestatic sun.security.krb5.Config.getInstance:()Lsun/security/krb5/Config;
astore 4
start local 4 30: aload 4
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "libdefaults"
aastore
dup
iconst_1
ldc "kdc_timeout"
aastore
invokevirtual sun.security.krb5.Config.get:([Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 31: aload 5
invokestatic sun.security.krb5.KdcComm.parseTimeString:(Ljava/lang/String;)I
istore 1
32: aload 4
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "libdefaults"
aastore
dup
iconst_1
ldc "max_retries"
aastore
invokevirtual sun.security.krb5.Config.get:([Ljava/lang/String;)Ljava/lang/String;
astore 5
33: aload 5
invokestatic sun.security.krb5.KdcComm.parsePositiveIntString:(Ljava/lang/String;)I
istore 2
34: aload 4
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "libdefaults"
aastore
dup
iconst_1
ldc "udp_preference_limit"
aastore
invokevirtual sun.security.krb5.Config.get:([Ljava/lang/String;)Ljava/lang/String;
astore 5
35: aload 5
invokestatic sun.security.krb5.KdcComm.parsePositiveIntString:(Ljava/lang/String;)I
istore 3
end local 5 end local 4 36: goto 42
StackMap locals: java.lang.String int int int
StackMap stack: java.lang.Exception
37: astore 4
start local 4 38: getstatic sun.security.krb5.KdcComm.DEBUG:Z
ifeq 42
39: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Exception in getting KDC communication settings, using default value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
40: aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
41: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 4 42: StackMap locals:
StackMap stack:
iload 1
ifle 43
iload 1
goto 44
StackMap locals:
StackMap stack:
43: sipush 30000
StackMap locals:
StackMap stack: int
44: putstatic sun.security.krb5.KdcComm.defaultKdcTimeout:I
45: iload 2
ifle 46
iload 2
goto 47
StackMap locals:
StackMap stack:
46: iconst_3
47: StackMap locals:
StackMap stack: int
putstatic sun.security.krb5.KdcComm.defaultKdcRetryLimit:I
48: iload 3
ifge 51
49: sipush 1465
putstatic sun.security.krb5.KdcComm.defaultUdpPrefLimit:I
50: goto 55
StackMap locals:
StackMap stack:
51: iload 3
sipush 32700
if_icmple 54
52: sipush 32700
putstatic sun.security.krb5.KdcComm.defaultUdpPrefLimit:I
53: goto 55
54: StackMap locals:
StackMap stack:
iload 3
putstatic sun.security.krb5.KdcComm.defaultUdpPrefLimit:I
55: StackMap locals:
StackMap stack:
invokestatic sun.security.krb5.KdcComm$KdcAccessibility.reset:()V
56: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 57 0 value Ljava/lang/String;
5 24 1 ss [Ljava/lang/String;
8 18 2 params [Ljava/lang/String;
9 12 3 tmp0 I
27 57 1 timeout I
28 57 2 max_retries I
29 57 3 udp_pref_limit I
30 36 4 cfg Lsun/security/krb5/Config;
31 36 5 temp Ljava/lang/String;
38 42 4 exc Ljava/lang/Exception;
Exception table:
from to target type
8 12 13 Class java.lang.NumberFormatException
29 36 37 Class java.lang.Exception
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 7
2: invokestatic sun.security.krb5.Config.getInstance:()Lsun/security/krb5/Config;
invokevirtual sun.security.krb5.Config.getDefaultRealm:()Ljava/lang/String;
astore 1
3: aload 1
ifnonnull 7
4: new sun.security.krb5.KrbException
dup
bipush 60
5: ldc "Cannot find default realm"
6: invokespecial sun.security.krb5.KrbException.<init>:(ILjava/lang/String;)V
athrow
7: StackMap locals: sun.security.krb5.KdcComm java.lang.String
StackMap stack:
aload 0
aload 1
putfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/krb5/KdcComm;
0 9 1 realm Ljava/lang/String;
Exceptions:
throws sun.security.krb5.KrbException
MethodParameters:
Name Flags
realm
public byte[] send(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
1: aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
ldc "udp_preference_limit"
getstatic sun.security.krb5.KdcComm.defaultUdpPrefLimit:I
2: invokevirtual sun.security.krb5.KdcComm.getRealmSpecificValue:(Ljava/lang/String;Ljava/lang/String;I)I
istore 2
start local 2 3: iload 2
ifle 6
4: aload 1
ifnull 6
aload 1
arraylength
iload 2
5: if_icmple 6
iconst_1
goto 7
StackMap locals: int
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 3
start local 3 8: aload 0
aload 1
iload 3
invokevirtual sun.security.krb5.KdcComm.send:([BZ)[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/krb5/KdcComm;
0 9 1 obuf [B
3 9 2 udpPrefLimit I
8 9 3 useTCP Z
Exceptions:
throws java.io.IOException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
obuf
private byte[] send(byte[], boolean);
descriptor: ([BZ)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
invokestatic sun.security.krb5.Config.getInstance:()Lsun/security/krb5/Config;
astore 3
start local 3 3: aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
ifnonnull 9
4: aload 0
aload 3
invokevirtual sun.security.krb5.Config.getDefaultRealm:()Ljava/lang/String;
putfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
5: aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
ifnonnull 9
6: new sun.security.krb5.KrbException
dup
bipush 60
7: ldc "Cannot find default realm"
8: invokespecial sun.security.krb5.KrbException.<init>:(ILjava/lang/String;)V
athrow
9: StackMap locals: sun.security.krb5.Config
StackMap stack:
aload 3
aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
invokevirtual sun.security.krb5.Config.getKDCList:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 10: aload 4
ifnonnull 12
11: new sun.security.krb5.KrbException
dup
new java.lang.StringBuilder
dup
ldc "Cannot get kdc for realm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.security.krb5.KrbException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokestatic sun.security.krb5.KdcComm$KdcAccessibility.list:(Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
start local 5 13: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
14: new sun.security.krb5.KrbException
dup
new java.lang.StringBuilder
dup
ldc "Cannot get kdc for realm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.security.krb5.KrbException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: java.util.Iterator
StackMap stack:
aconst_null
astore 6
start local 6 16: aload 0
aload 1
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
iload 2
invokevirtual sun.security.krb5.KdcComm.sendIfPossible:([BLjava/lang/String;Z)[B
astore 6
17: goto 27
StackMap locals: sun.security.krb5.KdcComm byte[] int sun.security.krb5.Config java.lang.String java.util.Iterator byte[]
StackMap stack: java.lang.Exception
18: astore 7
start local 7 19: iconst_0
istore 8
start local 8 20: goto 25
21: StackMap locals: java.lang.Exception int
StackMap stack:
aload 0
aload 1
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
iload 2
invokevirtual sun.security.krb5.KdcComm.sendIfPossible:([BLjava/lang/String;Z)[B
astore 6
22: iconst_1
istore 8
23: goto 26
24: StackMap locals:
StackMap stack: java.lang.Exception
pop
25: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
26: StackMap locals:
StackMap stack:
iload 8
ifne 27
aload 7
athrow
end local 8 end local 7 27: StackMap locals:
StackMap stack:
aload 6
ifnonnull 29
28: new java.io.IOException
dup
ldc "Cannot get a KDC reply"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 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 30 0 this Lsun/security/krb5/KdcComm;
0 30 1 obuf [B
0 30 2 useTCP Z
3 30 3 cfg Lsun/security/krb5/Config;
10 30 4 kdcList Ljava/lang/String;
13 30 5 tempKdc Ljava/util/Iterator<Ljava/lang/String;>;
16 30 6 ibuf [B
19 27 7 first Ljava/lang/Exception;
20 27 8 ok Z
Exception table:
from to target type
16 17 18 Class java.lang.Exception
21 23 24 Class java.lang.Exception
Exceptions:
throws java.io.IOException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
obuf
useTCP
private byte[] sendIfPossible(byte[], java.lang.String, boolean);
descriptor: ([BLjava/lang/String;Z)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokevirtual sun.security.krb5.KdcComm.send:([BLjava/lang/String;Z)[B
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: new sun.security.krb5.internal.KRBError
dup
aload 4
invokespecial sun.security.krb5.internal.KRBError.<init>:([B)V
astore 5
3: goto 5
StackMap locals: sun.security.krb5.KdcComm byte[] java.lang.String int byte[] sun.security.krb5.internal.KRBError
StackMap stack: java.lang.Exception
4: pop
5: StackMap locals:
StackMap stack:
aload 5
ifnull 8
aload 5
invokevirtual sun.security.krb5.internal.KRBError.getErrorCode:()I
6: bipush 52
if_icmpne 8
7: aload 0
aload 1
aload 2
iconst_1
invokevirtual sun.security.krb5.KdcComm.send:([BLjava/lang/String;Z)[B
astore 4
8: StackMap locals:
StackMap stack:
aload 2
invokestatic sun.security.krb5.KdcComm$KdcAccessibility.removeBad:(Ljava/lang/String;)V
9: aload 4
10: areturn
end local 5 end local 4 11: StackMap locals: sun.security.krb5.KdcComm byte[] java.lang.String int
StackMap stack: java.lang.Exception
astore 4
start local 4 12: getstatic sun.security.krb5.KdcComm.DEBUG:Z
ifeq 17
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc ">>> KrbKdcReq send: error trying "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
16: aload 4
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
17: StackMap locals: java.lang.Exception
StackMap stack:
aload 2
invokestatic sun.security.krb5.KdcComm$KdcAccessibility.addBad:(Ljava/lang/String;)V
18: aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/security/krb5/KdcComm;
0 19 1 obuf [B
0 19 2 tempKdc Ljava/lang/String;
0 19 3 useTCP Z
1 11 4 ibuf [B
2 11 5 ke Lsun/security/krb5/internal/KRBError;
12 19 4 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
0 10 11 Class java.lang.Exception
Exceptions:
throws java.io.IOException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
obuf
tempKdc
useTCP
private byte[] send(byte[], java.lang.String, boolean);
descriptor: ([BLjava/lang/String;Z)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
bipush 88
istore 4
start local 4 3: aload 0
4: aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
ldc "max_retries"
getstatic sun.security.krb5.KdcComm.defaultKdcRetryLimit:I
5: invokevirtual sun.security.krb5.KdcComm.getRealmSpecificValue:(Ljava/lang/String;Ljava/lang/String;I)I
istore 5
start local 5 6: aload 0
7: aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
ldc "kdc_timeout"
getstatic sun.security.krb5.KdcComm.defaultKdcTimeout:I
8: invokevirtual sun.security.krb5.KdcComm.getRealmSpecificValue:(Ljava/lang/String;Ljava/lang/String;I)I
istore 6
start local 6 9: getstatic sun.security.krb5.KdcComm.badPolicy:Lsun/security/krb5/KdcComm$BpType;
getstatic sun.security.krb5.KdcComm$BpType.TRY_LESS:Lsun/security/krb5/KdcComm$BpType;
if_acmpne 15
10: aload 2
invokestatic sun.security.krb5.KdcComm$KdcAccessibility.isBad:(Ljava/lang/String;)Z
ifeq 15
11: iload 5
getstatic sun.security.krb5.KdcComm.tryLessMaxRetries:I
if_icmple 13
12: getstatic sun.security.krb5.KdcComm.tryLessMaxRetries:I
istore 5
13: StackMap locals: int int int
StackMap stack:
iload 6
getstatic sun.security.krb5.KdcComm.tryLessTimeout:I
if_icmple 15
14: getstatic sun.security.krb5.KdcComm.tryLessTimeout:I
istore 6
15: StackMap locals:
StackMap stack:
aconst_null
astore 7
start local 7 16: aconst_null
astore 8
start local 8 17: aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 91
if_icmpne 27
18: aload 2
bipush 93
iconst_1
invokevirtual java.lang.String.indexOf:(II)I
istore 9
start local 9 19: iload 9
iconst_m1
if_icmpne 21
20: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Illegal KDC: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 2
iconst_1
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
22: iload 9
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpeq 37
23: aload 2
iload 9
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpeq 25
24: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Illegal KDC: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 2
iload 9
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
end local 9 26: goto 37
27: StackMap locals:
StackMap stack:
aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 9
start local 9 28: iload 9
iconst_m1
if_icmpne 31
29: aload 2
astore 7
30: goto 37
31: StackMap locals: int
StackMap stack:
aload 2
bipush 58
iload 9
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 10
start local 10 32: iload 10
ifle 35
33: aload 2
astore 7
34: goto 37
35: StackMap locals: int
StackMap stack:
aload 2
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
36: aload 2
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
end local 10 end local 9 37: StackMap locals:
StackMap stack:
aload 8
ifnull 41
38: aload 8
invokestatic sun.security.krb5.KdcComm.parsePositiveIntString:(Ljava/lang/String;)I
istore 9
start local 9 39: iload 9
ifle 41
40: iload 9
istore 4
end local 9 41: StackMap locals:
StackMap stack:
getstatic sun.security.krb5.KdcComm.DEBUG:Z
ifeq 52
42: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc ">>> KrbKdcReq send: kdc="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
43: iload 3
ifeq 44
ldc " TCP:"
goto 45
StackMap locals: sun.security.krb5.KdcComm byte[] java.lang.String int int int int java.lang.String java.lang.String
StackMap stack: java.io.PrintStream java.lang.StringBuilder
44: ldc " UDP:"
StackMap locals: sun.security.krb5.KdcComm byte[] java.lang.String int int int int java.lang.String java.lang.String
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
45: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
46: iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", timeout="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
47: iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
48: ldc ", number of retries ="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
49: iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
50: ldc ", #bytes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
51: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
52: StackMap locals:
StackMap stack:
new sun.security.krb5.KdcComm$KdcCommunication
dup
aload 7
iload 4
iload 3
iload 6
iload 5
aload 1
invokespecial sun.security.krb5.KdcComm$KdcCommunication.<init>:(Ljava/lang/String;IZII[B)V
53: astore 9
start local 9 54: aload 9
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast byte[]
astore 10
start local 10 55: getstatic sun.security.krb5.KdcComm.DEBUG:Z
ifeq 61
56: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc ">>> KrbKdcReq send: #bytes read="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
57: aload 10
ifnull 58
aload 10
arraylength
goto 59
StackMap locals: sun.security.krb5.KdcComm byte[] java.lang.String int int int int java.lang.String java.lang.String sun.security.krb5.KdcComm$KdcCommunication byte[]
StackMap stack: java.io.PrintStream java.lang.StringBuilder
58: iconst_0
StackMap locals: sun.security.krb5.KdcComm byte[] java.lang.String int int int int java.lang.String java.lang.String sun.security.krb5.KdcComm$KdcCommunication byte[]
StackMap stack: java.io.PrintStream java.lang.StringBuilder int
59: invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
60: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
61: StackMap locals:
StackMap stack:
aload 10
62: areturn
end local 10 63: StackMap locals: sun.security.krb5.KdcComm byte[] java.lang.String int int int int java.lang.String java.lang.String sun.security.krb5.KdcComm$KdcCommunication
StackMap stack: java.security.PrivilegedActionException
astore 10
start local 10 64: aload 10
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 11
start local 11 65: aload 11
instanceof java.io.IOException
ifeq 67
66: aload 11
checkcast java.io.IOException
athrow
67: StackMap locals: java.security.PrivilegedActionException java.lang.Exception
StackMap stack:
aload 11
checkcast sun.security.krb5.KrbException
athrow
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 68 0 this Lsun/security/krb5/KdcComm;
0 68 1 obuf [B
0 68 2 tempKdc Ljava/lang/String;
0 68 3 useTCP Z
3 68 4 port I
6 68 5 retries I
9 68 6 timeout I
16 68 7 kdc Ljava/lang/String;
17 68 8 portStr Ljava/lang/String;
19 26 9 pos I
28 37 9 colon I
32 37 10 nextColon I
39 41 9 tempPort I
54 68 9 kdcCommunication Lsun/security/krb5/KdcComm$KdcCommunication;
55 63 10 ibuf [B
64 68 10 e Ljava/security/PrivilegedActionException;
65 68 11 wrappedException Ljava/lang/Exception;
Exception table:
from to target type
54 62 63 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
obuf
tempKdc
useTCP
private static int parseTimeString(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "s"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 7
3: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic sun.security.krb5.KdcComm.parsePositiveIntString:(Ljava/lang/String;)I
istore 1
start local 1 4: iload 1
ifge 5
iconst_m1
goto 6
StackMap locals: int
StackMap stack:
5: iload 1
sipush 1000
imul
StackMap locals:
StackMap stack: int
6: ireturn
end local 1 7: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.security.krb5.KdcComm.parsePositiveIntString:(Ljava/lang/String;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 s Ljava/lang/String;
4 7 1 seconds I
MethodParameters:
Name Flags
s
private int getRealmSpecificValue(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
istore 4
start local 4 1: aload 1
ifnonnull 2
iload 4
ireturn
2: StackMap locals: int
StackMap stack:
iconst_m1
istore 5
start local 5 3: invokestatic sun.security.krb5.Config.getInstance:()Lsun/security/krb5/Config;
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "realms"
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
aastore
invokevirtual sun.security.krb5.Config.get:([Ljava/lang/String;)Ljava/lang/String;
4: astore 6
start local 6 5: aload 2
ldc "kdc_timeout"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 6
invokestatic sun.security.krb5.KdcComm.parseTimeString:(Ljava/lang/String;)I
istore 5
7: goto 11
8: StackMap locals: int java.lang.String
StackMap stack:
aload 6
invokestatic sun.security.krb5.KdcComm.parsePositiveIntString:(Ljava/lang/String;)I
istore 5
end local 6 9: goto 11
StackMap locals: sun.security.krb5.KdcComm java.lang.String java.lang.String int int int
StackMap stack: java.lang.Exception
10: pop
11: StackMap locals:
StackMap stack:
iload 5
ifle 12
iload 5
istore 4
12: StackMap locals:
StackMap stack:
iload 4
ireturn
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 13 0 this Lsun/security/krb5/KdcComm;
0 13 1 realm Ljava/lang/String;
0 13 2 key Ljava/lang/String;
0 13 3 defValue I
1 13 4 v I
3 13 5 temp I
5 9 6 value Ljava/lang/String;
Exception table:
from to target type
3 9 10 Class java.lang.Exception
MethodParameters:
Name Flags
realm
key
defValue
private static int parsePositiveIntString(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iconst_m1
istore 1
start local 1 3: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 1
4: goto 7
StackMap locals: java.lang.String int
StackMap stack: java.lang.Exception
5: pop
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
iload 1
iflt 9
8: iload 1
ireturn
9: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 intString Ljava/lang/String;
3 10 1 ret I
Exception table:
from to target type
3 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
intString
}
SourceFile: "KdcComm.java"
NestMembers:
sun.security.krb5.KdcComm$1 sun.security.krb5.KdcComm$BpType sun.security.krb5.KdcComm$KdcAccessibility sun.security.krb5.KdcComm$KdcCommunication
InnerClasses:
sun.security.krb5.KdcComm$1
private final BpType = sun.security.krb5.KdcComm$BpType of sun.security.krb5.KdcComm
KdcAccessibility = sun.security.krb5.KdcComm$KdcAccessibility of sun.security.krb5.KdcComm
private KdcCommunication = sun.security.krb5.KdcComm$KdcCommunication of sun.security.krb5.KdcComm