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 final java.lang.String BAD_POLICY_KEY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "krb5.kdc.bad.policy"
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
putstatic sun.security.krb5.KdcComm.defaultUdpPrefLimit:I
49: invokestatic sun.security.krb5.KdcComm$KdcAccessibility.reset:()V
50: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 51 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 51 1 timeout I
28 51 2 max_retries I
29 51 3 udf_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=13, 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:
aconst_null
astore 3
start local 3 3: invokestatic sun.security.krb5.Config.getInstance:()Lsun/security/krb5/Config;
astore 4
start local 4 4: aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
ifnonnull 10
5: aload 0
aload 4
invokevirtual sun.security.krb5.Config.getDefaultRealm:()Ljava/lang/String;
putfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
6: aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
ifnonnull 10
7: new sun.security.krb5.KrbException
dup
bipush 60
8: ldc "Cannot find default realm"
9: invokespecial sun.security.krb5.KrbException.<init>:(ILjava/lang/String;)V
athrow
10: StackMap locals: java.lang.Exception sun.security.krb5.Config
StackMap stack:
aload 4
aload 0
getfield sun.security.krb5.KdcComm.realm:Ljava/lang/String;
invokevirtual sun.security.krb5.Config.getKDCList:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 11: aload 5
ifnonnull 13
12: 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
13: StackMap locals: java.lang.String
StackMap stack:
aconst_null
astore 6
start local 6 14: aconst_null
astore 7
start local 7 15: aload 5
invokestatic sun.security.krb5.KdcComm$KdcAccessibility.list:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 37
StackMap locals: sun.security.krb5.KdcComm byte[] int java.lang.Exception sun.security.krb5.Config java.lang.String java.lang.String byte[] top int int java.lang.String[]
StackMap stack:
16: aload 11
iload 9
aaload
astore 8
start local 8 17: aload 8
astore 6
18: aload 0
aload 1
aload 6
iload 2
invokevirtual sun.security.krb5.KdcComm.send:([BLjava/lang/String;Z)[B
astore 7
19: aconst_null
astore 12
start local 12 20: new sun.security.krb5.internal.KRBError
dup
aload 7
invokespecial sun.security.krb5.internal.KRBError.<init>:([B)V
astore 12
21: goto 23
StackMap locals: sun.security.krb5.KdcComm byte[] int java.lang.Exception sun.security.krb5.Config java.lang.String java.lang.String byte[] java.lang.String int int java.lang.String[] sun.security.krb5.internal.KRBError
StackMap stack: java.lang.Exception
22: pop
23: StackMap locals:
StackMap stack:
aload 12
ifnull 26
aload 12
invokevirtual sun.security.krb5.internal.KRBError.getErrorCode:()I
24: bipush 52
if_icmpne 26
25: aload 0
aload 1
aload 6
iconst_1
invokevirtual sun.security.krb5.KdcComm.send:([BLjava/lang/String;Z)[B
astore 7
26: StackMap locals:
StackMap stack:
aload 6
invokestatic sun.security.krb5.KdcComm$KdcAccessibility.removeBad:(Ljava/lang/String;)V
27: goto 38
end local 12 28: StackMap locals: sun.security.krb5.KdcComm byte[] int java.lang.Exception sun.security.krb5.Config java.lang.String java.lang.String byte[] java.lang.String int int java.lang.String[]
StackMap stack: java.lang.Exception
astore 12
start local 12 29: getstatic sun.security.krb5.KdcComm.DEBUG:Z
ifeq 34
30: 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
31: aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
33: aload 12
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
34: StackMap locals: java.lang.Exception
StackMap stack:
aload 6
invokestatic sun.security.krb5.KdcComm$KdcAccessibility.addBad:(Ljava/lang/String;)V
35: aload 12
astore 3
end local 12 end local 8 36: iinc 9 1
StackMap locals: sun.security.krb5.KdcComm byte[] int java.lang.Exception sun.security.krb5.Config java.lang.String java.lang.String byte[] top int int java.lang.String[]
StackMap stack:
37: iload 9
iload 10
if_icmplt 16
38: StackMap locals: sun.security.krb5.KdcComm byte[] int java.lang.Exception sun.security.krb5.Config java.lang.String java.lang.String byte[]
StackMap stack:
aload 7
ifnonnull 44
39: aload 3
ifnull 43
40: aload 3
instanceof java.io.IOException
ifeq 42
41: aload 3
checkcast java.io.IOException
athrow
42: StackMap locals:
StackMap stack:
aload 3
checkcast sun.security.krb5.KrbException
athrow
43: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Cannot get a KDC reply"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
44: StackMap locals:
StackMap stack:
aload 7
areturn
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 45 0 this Lsun/security/krb5/KdcComm;
0 45 1 obuf [B
0 45 2 useTCP Z
3 45 3 savedException Ljava/lang/Exception;
4 45 4 cfg Lsun/security/krb5/Config;
11 45 5 kdcList Ljava/lang/String;
14 45 6 tempKdc Ljava/lang/String;
15 45 7 ibuf [B
17 36 8 tmp Ljava/lang/String;
20 28 12 ke Lsun/security/krb5/internal/KRBError;
29 36 12 e Ljava/lang/Exception;
Exception table:
from to target type
20 21 22 Class java.lang.Exception
18 27 28 Class java.lang.Exception
Exceptions:
throws java.io.IOException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
obuf
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