public class sun.security.krb5.internal.ccache.FileCredentialsCache extends sun.security.krb5.internal.ccache.CredentialsCache implements sun.security.krb5.internal.ccache.FileCCacheConstants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.krb5.internal.ccache.FileCredentialsCache
super_class: sun.security.krb5.internal.ccache.CredentialsCache
{
public int version;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public sun.security.krb5.internal.ccache.Tag tag;
descriptor: Lsun/security/krb5/internal/ccache/Tag;
flags: (0x0001) ACC_PUBLIC
public sun.security.krb5.PrincipalName primaryPrincipal;
descriptor: Lsun/security/krb5/PrincipalName;
flags: (0x0001) ACC_PUBLIC
private java.util.Vector<sun.security.krb5.internal.ccache.Credentials> credentialsList;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Lsun/security/krb5/internal/ccache/Credentials;>;
private static java.lang.String dir;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean DEBUG;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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.internal.ccache.FileCredentialsCache.DEBUG:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static synchronized sun.security.krb5.internal.ccache.FileCredentialsCache acquireInstance(sun.security.krb5.PrincipalName, java.lang.String);
descriptor: (Lsun/security/krb5/PrincipalName;Ljava/lang/String;)Lsun/security/krb5/internal/ccache/FileCredentialsCache;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.krb5.internal.ccache.FileCredentialsCache
dup
invokespecial sun.security.krb5.internal.ccache.FileCredentialsCache.<init>:()V
astore 2
start local 2 1: aload 1
ifnonnull 4
2: invokestatic sun.security.krb5.internal.ccache.FileCredentialsCache.getDefaultCacheName:()Ljava/lang/String;
putstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
3: goto 5
4: StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache
StackMap stack:
aload 1
invokestatic sun.security.krb5.internal.ccache.FileCredentialsCache.checkValidation:(Ljava/lang/String;)Ljava/lang/String;
putstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
5: StackMap locals:
StackMap stack:
getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
ifnull 6
new java.io.File
dup
getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.exists:()Z
ifne 7
6: StackMap locals:
StackMap stack:
aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 0
ifnull 9
8: aload 2
aload 0
putfield sun.security.krb5.internal.ccache.FileCredentialsCache.primaryPrincipal:Lsun/security/krb5/PrincipalName;
9: StackMap locals:
StackMap stack:
aload 2
getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.load:(Ljava/lang/String;)V
10: aload 2
11: areturn
end local 2 12: StackMap locals: sun.security.krb5.PrincipalName java.lang.String
StackMap stack: java.io.IOException
astore 2
start local 2 13: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 19
14: aload 2
invokevirtual java.io.IOException.printStackTrace:()V
end local 2 15: goto 19
16: StackMap locals:
StackMap stack: sun.security.krb5.KrbException
astore 2
start local 2 17: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 19
18: aload 2
invokevirtual sun.security.krb5.KrbException.printStackTrace:()V
end local 2 19: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 principal Lsun/security/krb5/PrincipalName;
0 20 1 cache Ljava/lang/String;
1 12 2 fcc Lsun/security/krb5/internal/ccache/FileCredentialsCache;
13 15 2 e Ljava/io/IOException;
17 19 2 e Lsun/security/krb5/KrbException;
Exception table:
from to target type
0 6 12 Class java.io.IOException
7 11 12 Class java.io.IOException
0 6 16 Class sun.security.krb5.KrbException
7 11 16 Class sun.security.krb5.KrbException
MethodParameters:
Name Flags
principal
cache
public static sun.security.krb5.internal.ccache.FileCredentialsCache acquireInstance();
descriptor: ()Lsun/security/krb5/internal/ccache/FileCredentialsCache;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: aconst_null
aconst_null
invokestatic sun.security.krb5.internal.ccache.FileCredentialsCache.acquireInstance:(Lsun/security/krb5/PrincipalName;Ljava/lang/String;)Lsun/security/krb5/internal/ccache/FileCredentialsCache;
areturn
LocalVariableTable:
Start End Slot Name Signature
static synchronized sun.security.krb5.internal.ccache.FileCredentialsCache New(sun.security.krb5.PrincipalName, java.lang.String);
descriptor: (Lsun/security/krb5/PrincipalName;Ljava/lang/String;)Lsun/security/krb5/internal/ccache/FileCredentialsCache;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.krb5.internal.ccache.FileCredentialsCache
dup
invokespecial sun.security.krb5.internal.ccache.FileCredentialsCache.<init>:()V
astore 2
start local 2 1: aload 1
invokestatic sun.security.krb5.internal.ccache.FileCredentialsCache.checkValidation:(Ljava/lang/String;)Ljava/lang/String;
putstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
2: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache
StackMap stack:
aload 2
aload 0
getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.init:(Lsun/security/krb5/PrincipalName;Ljava/lang/String;)V
5: aload 2
6: areturn
end local 2 7: StackMap locals: sun.security.krb5.PrincipalName java.lang.String
StackMap stack: java.io.IOException
pop
goto 9
8: StackMap locals:
StackMap stack: sun.security.krb5.KrbException
pop
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 principal Lsun/security/krb5/PrincipalName;
0 10 1 name Ljava/lang/String;
1 7 2 fcc Lsun/security/krb5/internal/ccache/FileCredentialsCache;
Exception table:
from to target type
0 3 7 Class java.io.IOException
4 6 7 Class java.io.IOException
0 3 8 Class sun.security.krb5.KrbException
4 6 8 Class sun.security.krb5.KrbException
MethodParameters:
Name Flags
principal
name
static synchronized sun.security.krb5.internal.ccache.FileCredentialsCache New(sun.security.krb5.PrincipalName);
descriptor: (Lsun/security/krb5/PrincipalName;)Lsun/security/krb5/internal/ccache/FileCredentialsCache;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: new sun.security.krb5.internal.ccache.FileCredentialsCache
dup
invokespecial sun.security.krb5.internal.ccache.FileCredentialsCache.<init>:()V
astore 1
start local 1 1: invokestatic sun.security.krb5.internal.ccache.FileCredentialsCache.getDefaultCacheName:()Ljava/lang/String;
putstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
2: aload 1
aload 0
getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.init:(Lsun/security/krb5/PrincipalName;Ljava/lang/String;)V
3: aload 1
4: areturn
end local 1 5: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 6: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 12
7: aload 1
invokevirtual java.io.IOException.printStackTrace:()V
end local 1 8: goto 12
9: StackMap locals:
StackMap stack: sun.security.krb5.KrbException
astore 1
start local 1 10: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 12
11: aload 1
invokevirtual sun.security.krb5.KrbException.printStackTrace:()V
end local 1 12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 principal Lsun/security/krb5/PrincipalName;
1 5 1 fcc Lsun/security/krb5/internal/ccache/FileCredentialsCache;
6 8 1 e Ljava/io/IOException;
10 12 1 e Lsun/security/krb5/KrbException;
Exception table:
from to target type
0 4 5 Class java.io.IOException
0 4 9 Class sun.security.krb5.KrbException
MethodParameters:
Name Flags
principal
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.security.krb5.internal.ccache.CredentialsCache.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
boolean exists(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals: java.io.File
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
0 4 1 cache Ljava/lang/String;
1 4 2 file Ljava/io/File;
MethodParameters:
Name Flags
cache
synchronized void init(sun.security.krb5.PrincipalName, java.lang.String);
descriptor: (Lsun/security/krb5/PrincipalName;Ljava/lang/String;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield sun.security.krb5.internal.ccache.FileCredentialsCache.primaryPrincipal:Lsun/security/krb5/PrincipalName;
1: aconst_null
astore 3
aconst_null
astore 4
2: new java.io.FileOutputStream
dup
aload 2
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
astore 5
start local 5 3: new sun.security.krb5.internal.ccache.CCacheOutputStream
dup
aload 5
invokespecial sun.security.krb5.internal.ccache.CCacheOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 6
start local 6 4: aload 0
sipush 1283
putfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
5: aload 6
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.primaryPrincipal:Lsun/security/krb5/PrincipalName;
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
invokevirtual sun.security.krb5.internal.ccache.CCacheOutputStream.writeHeader:(Lsun/security/krb5/PrincipalName;I)V
6: aload 6
ifnull 9
aload 6
invokevirtual sun.security.krb5.internal.ccache.CCacheOutputStream.close:()V
goto 9
StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache sun.security.krb5.PrincipalName java.lang.String java.lang.Throwable java.lang.Throwable java.io.FileOutputStream sun.security.krb5.internal.ccache.CCacheOutputStream
StackMap stack: java.lang.Throwable
7: astore 3
aload 6
ifnull 8
aload 6
invokevirtual sun.security.krb5.internal.ccache.CCacheOutputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
8: aload 3
athrow
StackMap locals:
StackMap stack:
9: aload 5
ifnull 17
aload 5
invokevirtual java.io.FileOutputStream.close:()V
goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 4
aload 3
ifnonnull 11
aload 4
astore 3
goto 12
StackMap locals:
StackMap stack:
11: aload 3
aload 4
if_acmpeq 12
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 5
ifnull 13
aload 5
invokevirtual java.io.FileOutputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
13: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
aload 3
ifnonnull 15
aload 4
astore 3
goto 16
StackMap locals:
StackMap stack:
15: aload 3
aload 4
if_acmpeq 16
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 3
athrow
17: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.load:(Ljava/lang/String;)V
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
0 19 1 principal Lsun/security/krb5/PrincipalName;
0 19 2 name Ljava/lang/String;
3 13 5 fos Ljava/io/FileOutputStream;
4 8 6 cos Lsun/security/krb5/internal/ccache/CCacheOutputStream;
Exception table:
from to target type
4 6 7 any
3 9 10 any
2 14 14 any
Exceptions:
throws java.io.IOException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
principal
name
synchronized void load(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
aconst_null
astore 4
1: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 5
start local 5 2: new sun.security.krb5.internal.ccache.CCacheInputStream
dup
aload 5
invokespecial sun.security.krb5.internal.ccache.CCacheInputStream.<init>:(Ljava/io/InputStream;)V
astore 6
start local 6 3: aload 0
aload 6
invokevirtual sun.security.krb5.internal.ccache.CCacheInputStream.readVersion:()I
putfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
4: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
sipush 1284
if_icmpne 7
5: aload 0
aload 6
invokevirtual sun.security.krb5.internal.ccache.CCacheInputStream.readTag:()Lsun/security/krb5/internal/ccache/Tag;
putfield sun.security.krb5.internal.ccache.FileCredentialsCache.tag:Lsun/security/krb5/internal/ccache/Tag;
6: goto 10
7: StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache java.lang.String top java.lang.Throwable java.lang.Throwable java.io.FileInputStream sun.security.krb5.internal.ccache.CCacheInputStream
StackMap stack:
aload 0
aconst_null
putfield sun.security.krb5.internal.ccache.FileCredentialsCache.tag:Lsun/security/krb5/internal/ccache/Tag;
8: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
sipush 1281
if_icmpeq 9
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
sipush 1282
if_icmpne 10
9: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.security.krb5.internal.ccache.CCacheInputStream.setNativeByteOrder:()V
10: StackMap locals:
StackMap stack:
aload 6
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
invokevirtual sun.security.krb5.internal.ccache.CCacheInputStream.readPrincipal:(I)Lsun/security/krb5/PrincipalName;
astore 2
start local 2 11: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.primaryPrincipal:Lsun/security/krb5/PrincipalName;
ifnull 14
12: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.primaryPrincipal:Lsun/security/krb5/PrincipalName;
aload 2
invokevirtual sun.security.krb5.PrincipalName.match:(Lsun/security/krb5/PrincipalName;)Z
ifne 15
13: new java.io.IOException
dup
ldc "Primary principals don't match."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache java.lang.String sun.security.krb5.PrincipalName java.lang.Throwable java.lang.Throwable java.io.FileInputStream sun.security.krb5.internal.ccache.CCacheInputStream
StackMap stack:
aload 0
aload 2
putfield sun.security.krb5.internal.ccache.FileCredentialsCache.primaryPrincipal:Lsun/security/krb5/PrincipalName;
15: StackMap locals:
StackMap stack:
aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
16: goto 20
17: StackMap locals:
StackMap stack:
aload 6
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
invokevirtual sun.security.krb5.internal.ccache.CCacheInputStream.readCred:(I)Lsun/security/krb5/internal/ccache/Credentials;
astore 7
start local 7 18: aload 7
ifnull 20
19: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
aload 7
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 7 20: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.security.krb5.internal.ccache.CCacheInputStream.available:()I
ifgt 17
21: aload 6
ifnull 24
aload 6
invokevirtual sun.security.krb5.internal.ccache.CCacheInputStream.close:()V
goto 24
end local 2 StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache java.lang.String top java.lang.Throwable java.lang.Throwable java.io.FileInputStream sun.security.krb5.internal.ccache.CCacheInputStream
StackMap stack: java.lang.Throwable
22: astore 3
aload 6
ifnull 23
aload 6
invokevirtual sun.security.krb5.internal.ccache.CCacheInputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
23: aload 3
athrow
start local 2 StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache java.lang.String sun.security.krb5.PrincipalName java.lang.Throwable java.lang.Throwable java.io.FileInputStream
StackMap stack:
24: aload 5
ifnull 32
aload 5
invokevirtual java.io.FileInputStream.close:()V
goto 32
end local 2 StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache java.lang.String top java.lang.Throwable java.lang.Throwable java.io.FileInputStream
StackMap stack: java.lang.Throwable
25: astore 4
aload 3
ifnonnull 26
aload 4
astore 3
goto 27
StackMap locals:
StackMap stack:
26: aload 3
aload 4
if_acmpeq 27
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 5
ifnull 28
aload 5
invokevirtual java.io.FileInputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
28: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 4
aload 3
ifnonnull 30
aload 4
astore 3
goto 31
StackMap locals:
StackMap stack:
30: aload 3
aload 4
if_acmpeq 31
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 3
athrow
start local 2 32: StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache java.lang.String sun.security.krb5.PrincipalName
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
0 33 1 name Ljava/lang/String;
11 22 2 p Lsun/security/krb5/PrincipalName;
24 25 2 p Lsun/security/krb5/PrincipalName;
32 33 2 p Lsun/security/krb5/PrincipalName;
2 28 5 fis Ljava/io/FileInputStream;
3 23 6 cis Lsun/security/krb5/internal/ccache/CCacheInputStream;
18 20 7 cred Lsun/security/krb5/internal/ccache/Credentials;
Exception table:
from to target type
3 21 22 any
2 24 25 any
1 29 29 any
Exceptions:
throws java.io.IOException, sun.security.krb5.KrbException
MethodParameters:
Name Flags
name
public synchronized void update(sun.security.krb5.internal.ccache.Credentials);
descriptor: (Lsun/security/krb5/internal/ccache/Credentials;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
ifnull 29
1: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 4
2: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
3: goto 29
4: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 5: iconst_0
istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 24
8: StackMap locals: sun.security.krb5.internal.ccache.Credentials int int
StackMap stack:
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.security.krb5.internal.ccache.Credentials
astore 2
9: aload 0
aload 1
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getNameStrings:()[Ljava/lang/String;
10: aload 2
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getNameStrings:()[Ljava/lang/String;
11: invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.match:([Ljava/lang/String;[Ljava/lang/String;)Z
12: ifeq 23
13: aload 1
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getRealmString:()Ljava/lang/String;
14: aload 2
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getRealmString:()Ljava/lang/String;
15: invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
16: ifeq 23
17: iconst_1
istore 3
18: aload 1
getfield sun.security.krb5.internal.ccache.Credentials.endtime:Lsun/security/krb5/internal/KerberosTime;
invokevirtual sun.security.krb5.internal.KerberosTime.getTime:()J
aload 2
getfield sun.security.krb5.internal.ccache.Credentials.endtime:Lsun/security/krb5/internal/KerberosTime;
invokevirtual sun.security.krb5.internal.KerberosTime.getTime:()J
lcmp
iflt 23
19: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 21
20: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " >>> FileCredentialsCache Ticket matched, overwrite the old one."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.removeElementAt:(I)V
22: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
23: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
24: iload 4
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 8
end local 4 25: iload 3
ifne 29
26: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 28
27: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " >>> FileCredentialsCache Ticket not exactly matched, add new one into cache."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
28: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 3 end local 2 29: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
0 30 1 c Lsun/security/krb5/internal/ccache/Credentials;
5 29 2 tmp Lsun/security/krb5/internal/ccache/Credentials;
6 29 3 matched Z
7 25 4 i I
MethodParameters:
Name Flags
c
public synchronized sun.security.krb5.PrincipalName getPrimaryPrincipal();
descriptor: ()Lsun/security/krb5/PrincipalName;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.primaryPrincipal:Lsun/security/krb5/PrincipalName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
public synchronized void save();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new java.io.FileOutputStream
dup
getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.cacheName:Ljava/lang/String;
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new sun.security.krb5.internal.ccache.CCacheOutputStream
dup
aload 3
invokespecial sun.security.krb5.internal.ccache.CCacheOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 3: aload 4
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.primaryPrincipal:Lsun/security/krb5/PrincipalName;
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.version:I
invokevirtual sun.security.krb5.internal.ccache.CCacheOutputStream.writeHeader:(Lsun/security/krb5/PrincipalName;I)V
4: aconst_null
astore 5
start local 5 5: aload 0
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.getCredsList:()[Lsun/security/krb5/internal/ccache/Credentials;
dup
astore 5
ifnull 11
6: iconst_0
istore 6
start local 6 7: goto 10
8: StackMap locals: sun.security.krb5.internal.ccache.FileCredentialsCache java.lang.Throwable java.lang.Throwable java.io.FileOutputStream sun.security.krb5.internal.ccache.CCacheOutputStream sun.security.krb5.internal.ccache.Credentials[] int
StackMap stack:
aload 4
aload 5
iload 6
aaload
invokevirtual sun.security.krb5.internal.ccache.CCacheOutputStream.addCreds:(Lsun/security/krb5/internal/ccache/Credentials;)V
9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
aload 5
arraylength
if_icmplt 8
end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 4
ifnull 14
aload 4
invokevirtual sun.security.krb5.internal.ccache.CCacheOutputStream.close:()V
goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 1
aload 4
ifnull 13
aload 4
invokevirtual sun.security.krb5.internal.ccache.CCacheOutputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
13: aload 1
athrow
StackMap locals:
StackMap stack:
14: aload 3
ifnull 22
aload 3
invokevirtual java.io.FileOutputStream.close:()V
goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
aload 1
ifnonnull 16
aload 2
astore 1
goto 17
StackMap locals:
StackMap stack:
16: aload 1
aload 2
if_acmpeq 17
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 3
ifnull 18
aload 3
invokevirtual java.io.FileOutputStream.close:()V
end local 3 StackMap locals:
StackMap stack:
18: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 2
aload 1
ifnonnull 20
aload 2
astore 1
goto 21
StackMap locals:
StackMap stack:
20: aload 1
aload 2
if_acmpeq 21
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 1
athrow
22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
2 18 3 fos Ljava/io/FileOutputStream;
3 13 4 cos Lsun/security/krb5/internal/ccache/CCacheOutputStream;
5 11 5 tmp [Lsun/security/krb5/internal/ccache/Credentials;
7 11 6 i I
Exception table:
from to target type
3 11 12 any
2 14 15 any
1 19 19 any
Exceptions:
throws java.io.IOException, sun.security.krb5.Asn1Exception
boolean match(java.lang.String[], java.lang.String[]);
descriptor: ([Ljava/lang/String;[Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
aload 2
arraylength
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 1
iload 3
aaload
aload 2
iload 3
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
arraylength
if_icmplt 4
end local 3 8: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
0 9 1 s1 [Ljava/lang/String;
0 9 2 s2 [Ljava/lang/String;
3 8 3 i I
MethodParameters:
Name Flags
s1
s2
public synchronized sun.security.krb5.internal.ccache.Credentials[] getCredsList();
descriptor: ()[Lsun/security/krb5/internal/ccache/Credentials;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
ifnull 1
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
anewarray sun.security.krb5.internal.ccache.Credentials
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: sun.security.krb5.internal.ccache.Credentials[] int
StackMap stack:
aload 1
iload 2
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.security.krb5.internal.ccache.Credentials
aastore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield sun.security.krb5.internal.ccache.FileCredentialsCache.credentialsList:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 5
end local 2 8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
3 9 1 tmp [Lsun/security/krb5/internal/ccache/Credentials;
4 8 2 i I
public sun.security.krb5.internal.ccache.Credentials getCreds(sun.security.krb5.internal.LoginOptions, sun.security.krb5.PrincipalName);
descriptor: (Lsun/security/krb5/internal/LoginOptions;Lsun/security/krb5/PrincipalName;)Lsun/security/krb5/internal/ccache/Credentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aload 0
aload 2
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.getCreds:(Lsun/security/krb5/PrincipalName;)Lsun/security/krb5/internal/ccache/Credentials;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.getCredsList:()[Lsun/security/krb5/internal/ccache/Credentials;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: sun.security.krb5.internal.ccache.Credentials[]
StackMap stack:
iconst_0
istore 4
start local 4 6: goto 11
7: StackMap locals: int
StackMap stack:
aload 2
aload 3
iload 4
aaload
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.match:(Lsun/security/krb5/PrincipalName;)Z
ifeq 10
8: aload 3
iload 4
aaload
getfield sun.security.krb5.internal.ccache.Credentials.flags:Lsun/security/krb5/internal/TicketFlags;
aload 1
invokevirtual sun.security.krb5.internal.TicketFlags.match:(Lsun/security/krb5/internal/LoginOptions;)Z
ifeq 10
9: aload 3
iload 4
aaload
areturn
10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 3
arraylength
if_icmplt 7
end local 4 12: aconst_null
areturn
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/internal/ccache/FileCredentialsCache;
0 13 1 options Lsun/security/krb5/internal/LoginOptions;
0 13 2 sname Lsun/security/krb5/PrincipalName;
3 13 3 list [Lsun/security/krb5/internal/ccache/Credentials;
6 12 4 i I
MethodParameters:
Name Flags
options
sname
public sun.security.krb5.internal.ccache.Credentials getCreds(sun.security.krb5.PrincipalName);
descriptor: (Lsun/security/krb5/PrincipalName;)Lsun/security/krb5/internal/ccache/Credentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.getCredsList:()[Lsun/security/krb5/internal/ccache/Credentials;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.security.krb5.internal.ccache.Credentials[]
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 1
aload 2
iload 3
aaload
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.match:(Lsun/security/krb5/PrincipalName;)Z
ifeq 7
6: aload 2
iload 3
aaload
areturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 5
end local 3 9: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
0 10 1 sname Lsun/security/krb5/PrincipalName;
1 10 2 list [Lsun/security/krb5/internal/ccache/Credentials;
4 9 3 i I
MethodParameters:
Name Flags
sname
public sun.security.krb5.internal.ccache.Credentials getDefaultCreds();
descriptor: ()Lsun/security/krb5/internal/ccache/Credentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.krb5.internal.ccache.FileCredentialsCache.getCredsList:()[Lsun/security/krb5/internal/ccache/Credentials;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.security.krb5.internal.ccache.Credentials[]
StackMap stack:
aload 1
arraylength
iconst_1
isub
istore 2
start local 2 4: goto 10
5: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.toString:()Ljava/lang/String;
ldc "krbtgt"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
6: aload 1
iload 2
aaload
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getNameStrings:()[Ljava/lang/String;
astore 3
start local 3 7: aload 3
iconst_1
aaload
aload 1
iload 2
aaload
getfield sun.security.krb5.internal.ccache.Credentials.sname:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getRealm:()Lsun/security/krb5/Realm;
invokevirtual sun.security.krb5.Realm.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aload 1
iload 2
aaload
areturn
end local 3 9: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
10: iload 2
ifge 5
end local 2 11: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/krb5/internal/ccache/FileCredentialsCache;
1 12 1 list [Lsun/security/krb5/internal/ccache/Credentials;
4 11 2 i I
7 9 3 nameStrings [Ljava/lang/String;
public static java.lang.String getDefaultCacheName();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=0
0: ldc "krb5cc"
astore 0
start local 0 1: new sun.security.krb5.internal.ccache.FileCredentialsCache$1
dup
invokespecial sun.security.krb5.internal.ccache.FileCredentialsCache$1.<init>:()V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 1
ifnull 7
4: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 6
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc ">>>KinitOptions cache name is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 1
areturn
7: StackMap locals:
StackMap stack:
new sun.security.action.GetPropertyAction
dup
ldc "os.name"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
8: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
9: astore 2
start local 2 10: aload 2
ifnull 23
aload 2
ldc "Windows"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 23
11: invokestatic jdk.internal.misc.VM.getuid:()J
lstore 3
start local 3 12: lload 3
ldc -1
lcmp
ifeq 21
13: new java.lang.StringBuilder
dup
getstatic java.io.File.separator:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "tmp"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
16: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 20
17: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc ">>>KinitOptions cache name is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
20: StackMap locals: java.lang.String long
StackMap stack:
aload 1
areturn
21: StackMap locals:
StackMap stack:
getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 23
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Error in obtaining uid for Unix platforms Using user's home directory"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 23: StackMap locals:
StackMap stack:
new sun.security.action.GetPropertyAction
dup
ldc "user.name"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
24: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
25: astore 3
start local 3 26: new sun.security.action.GetPropertyAction
dup
ldc "user.home"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
27: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
28: astore 4
start local 4 29: aload 4
ifnonnull 33
30: new sun.security.action.GetPropertyAction
dup
ldc "user.dir"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
31: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
32: astore 4
33: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
ifnull 38
34: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
35: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
37: goto 39
38: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
39: StackMap locals:
StackMap stack:
getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 41
40: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc ">>>KinitOptions cache name is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
41: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 42 0 stdCacheNameComponent Ljava/lang/String;
3 42 1 name Ljava/lang/String;
10 42 2 osname Ljava/lang/String;
12 23 3 uid J
26 42 3 user_name Ljava/lang/String;
29 42 4 user_home Ljava/lang/String;
public static java.lang.String checkValidation(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 1
4: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 5: aload 2
invokevirtual java.io.File.exists:()Z
ifne 10
6: new java.io.File
dup
aload 2
invokevirtual java.io.File.getParent:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 7: aload 3
invokevirtual java.io.File.isDirectory:()Z
ifne 9
8: aconst_null
astore 1
9: StackMap locals: java.io.File java.io.File
StackMap stack:
aconst_null
astore 3
end local 3 10: StackMap locals:
StackMap stack:
aconst_null
astore 2
end local 2 11: goto 14
StackMap locals: java.lang.String java.lang.String
StackMap stack: java.io.IOException
12: pop
13: aconst_null
astore 1
14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 name Ljava/lang/String;
1 15 1 fullname Ljava/lang/String;
5 11 2 fCheck Ljava/io/File;
7 10 3 temp Ljava/io/File;
Exception table:
from to target type
3 11 12 Class java.io.IOException
MethodParameters:
Name Flags
name
private static java.lang.String exec(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: new java.util.StringTokenizer
dup
aload 0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 2: goto 4
3: StackMap locals: java.util.StringTokenizer java.util.Vector
StackMap stack:
aload 2
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
5: aload 2
invokevirtual java.util.Vector.size:()I
anewarray java.lang.String
astore 3
start local 3 6: aload 2
aload 3
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
7: new sun.security.krb5.internal.ccache.FileCredentialsCache$2
dup
aload 3
invokespecial sun.security.krb5.internal.ccache.FileCredentialsCache$2.<init>:([Ljava/lang/String;)V
8: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Process
9: astore 4
start local 4 10: aload 4
ifnonnull 12
11: aconst_null
areturn
12: StackMap locals: java.lang.String[] java.lang.Process
StackMap stack:
new java.io.BufferedReader
dup
13: new java.io.InputStreamReader
dup
aload 4
invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
ldc "8859_1"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
14: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
15: astore 5
start local 5 16: aconst_null
astore 6
start local 6 17: aload 3
arraylength
iconst_1
if_icmpne 29
18: aload 3
iconst_0
aaload
ldc "/usr/bin/env"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
19: goto 27
20: StackMap locals: java.io.BufferedReader java.lang.String
StackMap stack:
aload 6
invokevirtual java.lang.String.length:()I
bipush 11
if_icmplt 27
21: aload 6
iconst_0
bipush 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
22: ldc "KRB5CCNAME="
23: invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
24: ifeq 27
25: aload 6
bipush 11
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
26: goto 30
27: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 6
ifnonnull 20
28: goto 30
StackMap locals:
StackMap stack:
29: aload 5
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 6
30: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.BufferedReader.close:()V
31: aload 6
32: areturn
end local 6 end local 5 end local 4 33: StackMap locals: java.lang.String java.util.StringTokenizer java.util.Vector java.lang.String[]
StackMap stack: java.lang.Exception
astore 4
start local 4 34: getstatic sun.security.krb5.internal.ccache.FileCredentialsCache.DEBUG:Z
ifeq 36
35: aload 4
invokevirtual java.lang.Exception.printStackTrace:()V
end local 4 36: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 c Ljava/lang/String;
1 37 1 st Ljava/util/StringTokenizer;
2 37 2 v Ljava/util/Vector<Ljava/lang/String;>;
6 37 3 command [Ljava/lang/String;
10 33 4 p Ljava/lang/Process;
16 33 5 commandResult Ljava/io/BufferedReader;
17 33 6 s1 Ljava/lang/String;
34 36 4 e Ljava/lang/Exception;
Exception table:
from to target type
7 11 33 Class java.lang.Exception
12 32 33 Class java.lang.Exception
MethodParameters:
Name Flags
c
}
SourceFile: "FileCredentialsCache.java"
NestMembers:
sun.security.krb5.internal.ccache.FileCredentialsCache$1 sun.security.krb5.internal.ccache.FileCredentialsCache$2
InnerClasses:
sun.security.krb5.internal.ccache.FileCredentialsCache$1
sun.security.krb5.internal.ccache.FileCredentialsCache$2