public class com.sun.security.auth.PolicyFile extends javax.security.auth.Policy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.security.auth.PolicyFile
super_class: javax.security.auth.Policy
{
static final java.util.ResourceBundle rb;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String AUTH_POLICY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.security.auth.policy"
private static final java.lang.String SECURITY_MANAGER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.security.manager"
private static final java.lang.String AUTH_POLICY_URL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "auth.policy.url."
private java.util.Vector<com.sun.security.auth.PolicyFile$PolicyEntry> policyEntries;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Lcom/sun/security/auth/PolicyFile$PolicyEntry;>;
private java.util.Hashtable<java.lang.Object, java.lang.Object> aliasMapping;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Hashtable<Ljava/lang/Object;Ljava/lang/Object;>;
private boolean initialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean expandProperties;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ignoreIdentityScope;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final java.lang.Class[] PARAMS;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.sun.security.auth.PolicyFile$1
dup
invokespecial com.sun.security.auth.PolicyFile$1.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.ResourceBundle
2: putstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
3: ldc "policy"
ldc "\t[Auth Policy]"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
4: putstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
5: iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljava/lang/String;
aastore
putstatic com.sun.security.auth.PolicyFile.PARAMS:[Ljava/lang/Class;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.security.auth.Policy.<init>:()V
1: aload 0
iconst_0
putfield com.sun.security.auth.PolicyFile.initialized:Z
2: aload 0
iconst_1
putfield com.sun.security.auth.PolicyFile.expandProperties:Z
3: aload 0
iconst_1
putfield com.sun.security.auth.PolicyFile.ignoreIdentityScope:Z
4: ldc "java.security.auth.policy"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 5: aload 1
ifnonnull 7
6: ldc "java.security.manager"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
7: StackMap locals: com.sun.security.auth.PolicyFile java.lang.String
StackMap stack:
aload 1
ifnull 9
8: aload 0
invokevirtual com.sun.security.auth.PolicyFile.init:()V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/security/auth/PolicyFile;
5 10 1 prop Ljava/lang/String;
private synchronized void init();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.security.auth.PolicyFile.initialized:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield com.sun.security.auth.PolicyFile.policyEntries:Ljava/util/Vector;
3: aload 0
new java.util.Hashtable
dup
bipush 11
invokespecial java.util.Hashtable.<init>:(I)V
putfield com.sun.security.auth.PolicyFile.aliasMapping:Ljava/util/Hashtable;
4: aload 0
invokevirtual com.sun.security.auth.PolicyFile.initPolicyFile:()V
5: aload 0
iconst_1
putfield com.sun.security.auth.PolicyFile.initialized:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/security/auth/PolicyFile;
public synchronized void refresh();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
new javax.security.auth.AuthPermission
dup
3: ldc "refreshPolicy"
invokespecial javax.security.auth.AuthPermission.<init>:(Ljava/lang/String;)V
4: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
iconst_0
putfield com.sun.security.auth.PolicyFile.initialized:Z
6: new com.sun.security.auth.PolicyFile$2
dup
aload 0
invokespecial com.sun.security.auth.PolicyFile$2.<init>:(Lcom/sun/security/auth/PolicyFile;)V
7: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/security/auth/PolicyFile;
1 9 1 sm Ljava/lang/SecurityManager;
private java.security.KeyStore initKeyStore(java.net.URL, java.lang.String, java.lang.String);
descriptor: (Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyStore;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 22
1: aconst_null
astore 4
start local 4 2: new java.net.URL
dup
aload 2
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 4
3: goto 6
StackMap locals: com.sun.security.auth.PolicyFile java.net.URL java.lang.String java.lang.String java.net.URL
StackMap stack: java.net.MalformedURLException
4: pop
5: new java.net.URL
dup
aload 1
aload 2
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 4
6: StackMap locals:
StackMap stack:
getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 8
7: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "reading keystore"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
new java.io.BufferedInputStream
dup
aload 0
aload 4
invokevirtual com.sun.security.auth.PolicyFile.getInputStream:(Ljava/net/URL;)Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
9: astore 5
start local 5 10: aload 3
ifnull 13
11: aload 3
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
astore 6
start local 6 12: goto 14
end local 6 13: StackMap locals: java.io.InputStream
StackMap stack:
invokestatic java.security.KeyStore.getDefaultType:()Ljava/lang/String;
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
astore 6
start local 6 14: StackMap locals: java.security.KeyStore
StackMap stack:
aload 6
aload 5
aconst_null
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
15: aload 5
invokevirtual java.io.InputStream.close:()V
16: aload 6
17: areturn
end local 6 end local 5 end local 4 18: StackMap locals: com.sun.security.auth.PolicyFile java.net.URL java.lang.String java.lang.String
StackMap stack: java.lang.Exception
astore 4
start local 4 19: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 21
20: aload 4
invokevirtual java.lang.Exception.printStackTrace:()V
21: StackMap locals: java.lang.Exception
StackMap stack:
aconst_null
areturn
end local 4 22: 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 23 0 this Lcom/sun/security/auth/PolicyFile;
0 23 1 policyUrl Ljava/net/URL;
0 23 2 keyStoreName Ljava/lang/String;
0 23 3 keyStoreType Ljava/lang/String;
2 18 4 keyStoreUrl Ljava/net/URL;
10 18 5 inStream Ljava/io/InputStream;
12 13 6 ks Ljava/security/KeyStore;
14 18 6 ks Ljava/security/KeyStore;
19 22 4 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.net.MalformedURLException
1 17 18 Class java.lang.Exception
MethodParameters:
Name Flags
policyUrl
keyStoreName
keyStoreType
private void initPolicyFile();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=1
start local 0 0: ldc "policy.expandProperties"
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 0
aload 1
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
putfield com.sun.security.auth.PolicyFile.expandProperties:Z
2: StackMap locals: java.lang.String
StackMap stack:
ldc "policy.ignoreIdentityScope"
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 4
aload 0
aload 2
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
putfield com.sun.security.auth.PolicyFile.ignoreIdentityScope:Z
4: StackMap locals: java.lang.String
StackMap stack:
ldc "policy.allowSystemProperty"
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnull 30
aload 3
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 30
6: ldc "java.security.auth.policy"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 7: aload 4
ifnull 30
8: iconst_0
istore 5
start local 5 9: aload 4
ldc "="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
10: iconst_1
istore 5
11: aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
12: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 4
invokestatic sun.security.util.PropertyExpander.expand:(Ljava/lang/String;)Ljava/lang/String;
astore 4
13: new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 7
start local 7 14: aload 7
invokevirtual java.io.File.exists:()Z
ifeq 18
15: new java.net.URL
dup
new java.lang.StringBuilder
dup
ldc "file:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
16: astore 6
start local 6 17: goto 19
end local 6 18: StackMap locals: com.sun.security.auth.PolicyFile java.lang.String java.lang.String java.lang.String java.lang.String int top java.io.File
StackMap stack:
new java.net.URL
dup
aload 4
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 6
start local 6 19: StackMap locals: com.sun.security.auth.PolicyFile java.lang.String java.lang.String java.lang.String java.lang.String int java.net.URL java.io.File
StackMap stack:
getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 21
20: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "reading "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual com.sun.security.auth.PolicyFile.init:(Ljava/net/URL;)V
end local 7 end local 6 22: goto 26
StackMap locals: com.sun.security.auth.PolicyFile java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack: java.lang.Exception
23: astore 6
start local 6 24: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 26
25: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "caught exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 6 26: StackMap locals:
StackMap stack:
iload 5
ifeq 30
27: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 29
28: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ldc "overriding other policies!"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
29: StackMap locals:
StackMap stack:
return
end local 5 end local 4 30: StackMap locals:
StackMap stack:
iconst_1
istore 4
start local 4 31: iconst_0
istore 5
start local 5 32: goto 46
start local 6 33: StackMap locals: int int java.lang.String
StackMap stack:
aload 6
invokestatic sun.security.util.PropertyExpander.expand:(Ljava/lang/String;)Ljava/lang/String;
34: getstatic java.io.File.separatorChar:C
bipush 47
35: invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 6
36: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 38
37: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "reading "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
38: StackMap locals:
StackMap stack:
aload 0
new java.net.URL
dup
aload 6
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.security.auth.PolicyFile.init:(Ljava/net/URL;)V
39: iconst_1
istore 5
40: goto 45
StackMap locals:
StackMap stack: java.lang.Exception
41: astore 7
start local 7 42: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 45
43: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "error reading policy "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
44: aload 7
invokevirtual java.lang.Exception.printStackTrace:()V
end local 7 45: StackMap locals:
StackMap stack:
iinc 4 1
end local 6 46: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "auth.policy.url."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
dup
astore 6
start local 6 47: ifnonnull 33
48: return
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 49 0 this Lcom/sun/security/auth/PolicyFile;
1 49 1 prop Ljava/lang/String;
3 49 2 iscp Ljava/lang/String;
5 49 3 allowSys Ljava/lang/String;
7 30 4 extra_policy Ljava/lang/String;
9 30 5 overrideAll Z
17 18 6 policyURL Ljava/net/URL;
19 22 6 policyURL Ljava/net/URL;
14 22 7 policyFile Ljava/io/File;
24 26 6 e Ljava/lang/Exception;
31 49 4 n I
32 49 5 loaded_one Z
33 46 6 policy_url Ljava/lang/String;
47 49 6 policy_url Ljava/lang/String;
42 45 7 e Ljava/lang/Exception;
Exception table:
from to target type
12 22 23 Class java.lang.Exception
33 40 41 Class java.lang.Exception
private boolean checkForTrustedIdentity(java.security.cert.Certificate);
descriptor: (Ljava/security/cert/Certificate;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/auth/PolicyFile;
0 1 1 cert Ljava/security/cert/Certificate;
MethodParameters:
Name Flags
cert final
private void init(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new com.sun.security.auth.PolicyParser
dup
aload 0
getfield com.sun.security.auth.PolicyFile.expandProperties:Z
invokespecial com.sun.security.auth.PolicyParser.<init>:(Z)V
astore 2
start local 2 1: new java.io.InputStreamReader
dup
aload 0
aload 1
invokevirtual com.sun.security.auth.PolicyFile.getInputStream:(Ljava/net/URL;)Ljava/io/InputStream;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
2: astore 3
start local 3 3: aload 2
aload 3
invokevirtual com.sun.security.auth.PolicyParser.read:(Ljava/io/Reader;)V
4: aload 3
invokevirtual java.io.InputStreamReader.close:()V
5: aload 0
aload 1
aload 2
invokevirtual com.sun.security.auth.PolicyParser.getKeyStoreUrl:()Ljava/lang/String;
6: aload 2
invokevirtual com.sun.security.auth.PolicyParser.getKeyStoreType:()Ljava/lang/String;
7: invokevirtual com.sun.security.auth.PolicyFile.initKeyStore:(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyStore;
astore 4
start local 4 8: aload 2
invokevirtual com.sun.security.auth.PolicyParser.grantElements:()Ljava/util/Enumeration;
astore 5
start local 5 9: goto 12
10: StackMap locals: com.sun.security.auth.PolicyFile java.net.URL com.sun.security.auth.PolicyParser java.io.InputStreamReader java.security.KeyStore java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast com.sun.security.auth.PolicyParser$GrantEntry
astore 6
start local 6 11: aload 0
aload 6
aload 4
invokevirtual com.sun.security.auth.PolicyFile.addGrantEntry:(Lcom/sun/security/auth/PolicyParser$GrantEntry;Ljava/security/KeyStore;)V
end local 6 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 10
end local 5 end local 4 end local 3 13: goto 30
StackMap locals: com.sun.security.auth.PolicyFile java.net.URL com.sun.security.auth.PolicyParser
StackMap stack: com.sun.security.auth.PolicyParser$ParsingException
14: astore 3
start local 3 15: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "java.security.auth.policy"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: getstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
ldc ".error.parsing."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "java.security.auth.policy"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
19: getstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
ldc "COLON"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: aload 3
invokevirtual com.sun.security.auth.PolicyParser$ParsingException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 30
23: aload 3
invokevirtual com.sun.security.auth.PolicyParser$ParsingException.printStackTrace:()V
end local 3 24: goto 30
25: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 26: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 30
27: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "error parsing "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
28: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
aload 3
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
29: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
end local 3 30: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/security/auth/PolicyFile;
0 31 1 policy Ljava/net/URL;
1 31 2 pp Lcom/sun/security/auth/PolicyParser;
3 13 3 isr Ljava/io/InputStreamReader;
8 13 4 keyStore Ljava/security/KeyStore;
9 13 5 enum_ Ljava/util/Enumeration<Lcom/sun/security/auth/PolicyParser$GrantEntry;>;
11 12 6 ge Lcom/sun/security/auth/PolicyParser$GrantEntry;
15 24 3 pe Lcom/sun/security/auth/PolicyParser$ParsingException;
26 30 3 e Ljava/lang/Exception;
Exception table:
from to target type
1 13 14 Class com.sun.security.auth.PolicyParser$ParsingException
1 13 25 Class java.lang.Exception
MethodParameters:
Name Flags
policy
private java.io.InputStream getInputStream(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: ldc "file"
aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
bipush 47
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 2
start local 2 2: new java.io.FileInputStream
dup
aload 2
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/security/auth/PolicyFile;
0 4 1 url Ljava/net/URL;
2 3 2 path Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
java.security.CodeSource getCodeSource(com.sun.security.auth.PolicyParser$GrantEntry, java.security.KeyStore);
descriptor: (Lcom/sun/security/auth/PolicyParser$GrantEntry;Ljava/security/KeyStore;)Ljava/security/CodeSource;
flags: (0x0000)
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
ifnull 9
2: aload 0
aload 2
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
invokevirtual com.sun.security.auth.PolicyFile.getCertificates:(Ljava/security/KeyStore;Ljava/lang/String;)[Ljava/security/cert/Certificate;
astore 3
3: aload 3
ifnonnull 9
4: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 8
5: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc " no certs for alias "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", ignoring."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
8: StackMap locals: java.security.cert.Certificate[]
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
ifnull 12
10: new java.net.URL
dup
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 4
start local 4 11: goto 13
end local 4 12: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 13: StackMap locals: java.net.URL
StackMap stack:
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
ifnull 14
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
ifne 18
14: StackMap locals:
StackMap stack:
aload 0
15: new java.security.CodeSource
dup
aload 4
aload 3
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/cert/Certificate;)V
16: iconst_0
17: invokevirtual com.sun.security.auth.PolicyFile.canonicalizeCodebase:(Ljava/security/CodeSource;Z)Ljava/security/CodeSource;
areturn
18: StackMap locals:
StackMap stack:
aload 0
19: new com.sun.security.auth.SubjectCodeSource
dup
aconst_null
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
aload 4
aload 3
invokespecial com.sun.security.auth.SubjectCodeSource.<init>:(Ljavax/security/auth/Subject;Ljava/util/LinkedList;Ljava/net/URL;[Ljava/security/cert/Certificate;)V
20: iconst_0
21: invokevirtual com.sun.security.auth.PolicyFile.canonicalizeCodebase:(Ljava/security/CodeSource;Z)Ljava/security/CodeSource;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/security/auth/PolicyFile;
0 22 1 ge Lcom/sun/security/auth/PolicyParser$GrantEntry;
0 22 2 keyStore Ljava/security/KeyStore;
1 22 3 certs [Ljava/security/cert/Certificate;
11 12 4 location Ljava/net/URL;
13 22 4 location Ljava/net/URL;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
ge
keyStore
private void addGrantEntry(com.sun.security.auth.PolicyParser$GrantEntry, java.security.KeyStore);
descriptor: (Lcom/sun/security/auth/PolicyParser$GrantEntry;Ljava/security/KeyStore;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 14
1: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ldc "Adding policy entry: "
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
2: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc " signedBy "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
3: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc " codeBase "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
4: aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
ifnull 13
aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
ifle 13
5: aload 1
getfield com.sun.security.auth.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.listIterator:()Ljava/util/ListIterator;
6: astore 3
start local 3 7: goto 12
8: StackMap locals: java.util.ListIterator
StackMap stack:
aload 3
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast com.sun.security.auth.PolicyParser$PrincipalEntry
astore 4
start local 4 9: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 4 12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 8
end local 3 13: StackMap locals:
StackMap stack:
getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
invokevirtual sun.security.util.Debug.println:()V
14: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.sun.security.auth.PolicyFile.getCodeSource:(Lcom/sun/security/auth/PolicyParser$GrantEntry;Ljava/security/KeyStore;)Ljava/security/CodeSource;
astore 3
start local 3 15: aload 3
ifnonnull 17
16: return
17: StackMap locals: java.security.CodeSource
StackMap stack:
new com.sun.security.auth.PolicyFile$PolicyEntry
dup
aload 3
invokespecial com.sun.security.auth.PolicyFile$PolicyEntry.<init>:(Ljava/security/CodeSource;)V
astore 4
start local 4 18: aload 1
invokevirtual com.sun.security.auth.PolicyParser$GrantEntry.permissionElements:()Ljava/util/Enumeration;
19: astore 5
start local 5 20: goto 75
21: StackMap locals: com.sun.security.auth.PolicyFile$PolicyEntry java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast com.sun.security.auth.PolicyParser$PermissionEntry
astore 6
start local 6 22: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
23: ldc "javax.security.auth.PrivateCredentialPermission"
24: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
25: ifeq 32
26: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.name:Ljava/lang/String;
ldc " self"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 32
27: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
28: new java.lang.StringBuilder
dup
aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " \"self\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
29: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.action:Ljava/lang/String;
30: invokestatic com.sun.security.auth.PolicyFile.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/security/Permission;
astore 7
start local 7 31: goto 36
end local 7 32: StackMap locals: com.sun.security.auth.PolicyParser$PermissionEntry
StackMap stack:
aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
33: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.name:Ljava/lang/String;
34: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.action:Ljava/lang/String;
35: invokestatic com.sun.security.auth.PolicyFile.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/security/Permission;
astore 7
start local 7 36: StackMap locals: java.security.Permission
StackMap stack:
aload 4
aload 7
invokevirtual com.sun.security.auth.PolicyFile$PolicyEntry.add:(Ljava/security/Permission;)V
37: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 75
38: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 7 39: goto 75
StackMap locals: com.sun.security.auth.PolicyFile com.sun.security.auth.PolicyParser$GrantEntry java.security.KeyStore java.security.CodeSource com.sun.security.auth.PolicyFile$PolicyEntry java.util.Enumeration com.sun.security.auth.PolicyParser$PermissionEntry
StackMap stack: java.lang.ClassNotFoundException
40: pop
41: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.signedBy:Ljava/lang/String;
ifnull 44
42: aload 0
aload 2
aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.signedBy:Ljava/lang/String;
invokevirtual com.sun.security.auth.PolicyFile.getCertificates:(Ljava/security/KeyStore;Ljava/lang/String;)[Ljava/security/cert/Certificate;
astore 7
start local 7 43: goto 45
end local 7 44: StackMap locals:
StackMap stack:
aconst_null
astore 7
start local 7 45: StackMap locals: java.security.cert.Certificate[]
StackMap stack:
aload 7
ifnonnull 46
aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.signedBy:Ljava/lang/String;
ifnonnull 75
46: StackMap locals:
StackMap stack:
new java.security.UnresolvedPermission
dup
47: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
48: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.name:Ljava/lang/String;
49: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.action:Ljava/lang/String;
50: aload 7
51: invokespecial java.security.UnresolvedPermission.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/security/cert/Certificate;)V
astore 8
start local 8 52: aload 4
aload 8
invokevirtual com.sun.security.auth.PolicyFile$PolicyEntry.add:(Ljava/security/Permission;)V
53: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 75
54: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 8 end local 7 55: goto 75
56: StackMap locals: com.sun.security.auth.PolicyFile com.sun.security.auth.PolicyParser$GrantEntry java.security.KeyStore java.security.CodeSource com.sun.security.auth.PolicyFile$PolicyEntry java.util.Enumeration com.sun.security.auth.PolicyParser$PermissionEntry
StackMap stack: java.lang.reflect.InvocationTargetException
astore 7
start local 7 57: getstatic java.lang.System.err:Ljava/io/PrintStream;
58: new java.lang.StringBuilder
dup
ldc "java.security.auth.policy"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
59: getstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
ldc ".error.adding.Permission."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
60: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
61: getstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
62: aload 7
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
63: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
64: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 65: goto 75
66: StackMap locals:
StackMap stack: java.lang.Exception
astore 7
start local 7 67: getstatic java.lang.System.err:Ljava/io/PrintStream;
68: new java.lang.StringBuilder
dup
ldc "java.security.auth.policy"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
69: getstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
ldc ".error.adding.Permission."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
70: aload 6
getfield com.sun.security.auth.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
71: getstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
72: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
73: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
74: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 end local 6 75: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 21
76: aload 0
getfield com.sun.security.auth.PolicyFile.policyEntries:Ljava/util/Vector;
aload 4
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 5 end local 4 end local 3 77: goto 87
StackMap locals: com.sun.security.auth.PolicyFile com.sun.security.auth.PolicyParser$GrantEntry java.security.KeyStore
StackMap stack: java.lang.Exception
78: astore 3
start local 3 79: getstatic java.lang.System.err:Ljava/io/PrintStream;
80: new java.lang.StringBuilder
dup
ldc "java.security.auth.policy"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
81: getstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
ldc ".error.adding.Entry."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
82: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
83: getstatic com.sun.security.auth.PolicyFile.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
84: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
85: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
86: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 87: StackMap locals:
StackMap stack:
getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 89
88: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
invokevirtual sun.security.util.Debug.println:()V
89: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 90 0 this Lcom/sun/security/auth/PolicyFile;
0 90 1 ge Lcom/sun/security/auth/PolicyParser$GrantEntry;
0 90 2 keyStore Ljava/security/KeyStore;
7 13 3 li Ljava/util/ListIterator<Lcom/sun/security/auth/PolicyParser$PrincipalEntry;>;
9 12 4 pppe Lcom/sun/security/auth/PolicyParser$PrincipalEntry;
15 77 3 codesource Ljava/security/CodeSource;
18 77 4 entry Lcom/sun/security/auth/PolicyFile$PolicyEntry;
20 77 5 enum_ Ljava/util/Enumeration<Lcom/sun/security/auth/PolicyParser$PermissionEntry;>;
22 75 6 pe Lcom/sun/security/auth/PolicyParser$PermissionEntry;
31 32 7 perm Ljava/security/Permission;
36 39 7 perm Ljava/security/Permission;
43 44 7 certs [Ljava/security/cert/Certificate;
45 55 7 certs [Ljava/security/cert/Certificate;
52 55 8 perm Ljava/security/Permission;
57 65 7 ite Ljava/lang/reflect/InvocationTargetException;
67 75 7 e Ljava/lang/Exception;
79 87 3 e Ljava/lang/Exception;
Exception table:
from to target type
22 39 40 Class java.lang.ClassNotFoundException
22 39 56 Class java.lang.reflect.InvocationTargetException
22 39 66 Class java.lang.Exception
14 16 78 Class java.lang.Exception
17 77 78 Class java.lang.Exception
MethodParameters:
Name Flags
ge
keyStore
private static final java.security.Permission getInstance(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/security/Permission;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 1: aload 3
getstatic com.sun.security.auth.PolicyFile.PARAMS:[Ljava/lang/Class;
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 4
start local 4 2: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.Permission
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Ljava/lang/String;
0 3 1 name Ljava/lang/String;
0 3 2 actions Ljava/lang/String;
1 3 3 pc Ljava/lang/Class<*>;
2 3 4 c Ljava/lang/reflect/Constructor<*>;
Exceptions:
throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
type
name
actions
java.security.cert.Certificate[] getCertificates(java.security.KeyStore, java.lang.String);
descriptor: (Ljava/security/KeyStore;Ljava/lang/String;)[Ljava/security/cert/Certificate;
flags: (0x0000)
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: new java.util.StringTokenizer
dup
aload 2
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 19
4: StackMap locals: java.util.Vector java.util.StringTokenizer int
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
start local 6 5: iinc 5 1
6: aconst_null
astore 7
start local 7 7: aload 0
getfield com.sun.security.auth.PolicyFile.aliasMapping:Ljava/util/Hashtable;
aload 6
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.cert.Certificate
astore 7
8: aload 7
ifnonnull 15
aload 1
ifnull 15
9: aload 1
aload 6
invokevirtual java.security.KeyStore.getCertificate:(Ljava/lang/String;)Ljava/security/cert/Certificate;
astore 7
10: goto 12
StackMap locals: com.sun.security.auth.PolicyFile java.security.KeyStore java.lang.String java.util.Vector java.util.StringTokenizer int java.lang.String java.security.cert.Certificate
StackMap stack: java.security.KeyStoreException
11: pop
12: StackMap locals:
StackMap stack:
aload 7
ifnull 15
13: aload 0
getfield com.sun.security.auth.PolicyFile.aliasMapping:Ljava/util/Hashtable;
aload 6
aload 7
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
getfield com.sun.security.auth.PolicyFile.aliasMapping:Ljava/util/Hashtable;
aload 7
aload 6
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: StackMap locals:
StackMap stack:
aload 7
ifnull 19
16: aload 3
ifnonnull 18
17: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 3
18: StackMap locals:
StackMap stack:
aload 3
aload 7
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 7 end local 6 19: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 4
20: aload 3
ifnull 24
iload 5
aload 3
invokevirtual java.util.Vector.size:()I
if_icmpne 24
21: aload 3
invokevirtual java.util.Vector.size:()I
anewarray java.security.cert.Certificate
astore 6
start local 6 22: aload 3
aload 6
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
23: aload 6
areturn
end local 6 24: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/security/auth/PolicyFile;
0 25 1 keyStore Ljava/security/KeyStore;
0 25 2 aliases Ljava/lang/String;
1 25 3 vcerts Ljava/util/Vector<Ljava/security/cert/Certificate;>;
2 25 4 st Ljava/util/StringTokenizer;
3 25 5 n I
5 19 6 alias Ljava/lang/String;
7 19 7 cert Ljava/security/cert/Certificate;
22 24 6 certs [Ljava/security/cert/Certificate;
Exception table:
from to target type
9 10 11 Class java.security.KeyStoreException
MethodParameters:
Name Flags
keyStore
aliases
private final synchronized java.util.Enumeration<com.sun.security.auth.PolicyFile$PolicyEntry> elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0032) ACC_PRIVATE, ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.security.auth.PolicyFile.policyEntries:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/auth/PolicyFile;
Signature: ()Ljava/util/Enumeration<Lcom/sun/security/auth/PolicyFile$PolicyEntry;>;
public java.security.PermissionCollection getPermissions(javax.security.auth.Subject, java.security.CodeSource);
descriptor: (Ljavax/security/auth/Subject;Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.security.auth.PolicyFile$3
dup
aload 0
aload 1
aload 2
invokespecial com.sun.security.auth.PolicyFile$3.<init>:(Lcom/sun/security/auth/PolicyFile;Ljavax/security/auth/Subject;Ljava/security/CodeSource;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/security/auth/PolicyFile;
0 2 1 subject Ljavax/security/auth/Subject;
0 2 2 codesource Ljava/security/CodeSource;
MethodParameters:
Name Flags
subject final
codesource final
java.security.PermissionCollection getPermissions(java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.security.auth.PolicyFile.initialized:Z
ifeq 2
1: aload 0
new java.security.Permissions
dup
invokespecial java.security.Permissions.<init>:()V
aload 1
invokevirtual com.sun.security.auth.PolicyFile.getPermissions:(Ljava/security/Permissions;Ljava/security/CodeSource;)Ljava/security/Permissions;
areturn
2: StackMap locals:
StackMap stack:
new com.sun.security.auth.PolicyPermissions
dup
aload 0
aload 1
invokespecial com.sun.security.auth.PolicyPermissions.<init>:(Lcom/sun/security/auth/PolicyFile;Ljava/security/CodeSource;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/security/auth/PolicyFile;
0 3 1 codesource Ljava/security/CodeSource;
MethodParameters:
Name Flags
codesource
java.security.Permissions getPermissions(java.security.Permissions, java.security.CodeSource);
descriptor: (Ljava/security/Permissions;Ljava/security/CodeSource;)Ljava/security/Permissions;
flags: (0x0000)
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.security.auth.PolicyFile.initialized:Z
ifne 2
1: aload 0
invokevirtual com.sun.security.auth.PolicyFile.init:()V
2: StackMap locals:
StackMap stack:
iconst_1
anewarray java.security.CodeSource
astore 3
start local 3 3: aload 3
iconst_0
aload 0
aload 2
iconst_1
invokevirtual com.sun.security.auth.PolicyFile.canonicalizeCodebase:(Ljava/security/CodeSource;Z)Ljava/security/CodeSource;
aastore
4: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 6
5: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "evaluate("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
iconst_0
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
6: StackMap locals: java.security.CodeSource[]
StackMap stack:
iconst_0
istore 4
start local 4 7: goto 28
8: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.security.auth.PolicyFile.policyEntries:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.security.auth.PolicyFile$PolicyEntry
astore 5
start local 5 9: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 14
10: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PolicyFile CodeSource implies: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 5
getfield com.sun.security.auth.PolicyFile$PolicyEntry.codesource:Ljava/security/CodeSource;
invokevirtual java.security.CodeSource.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc "\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iconst_0
aaload
invokevirtual java.security.CodeSource.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
14: StackMap locals: com.sun.security.auth.PolicyFile$PolicyEntry
StackMap stack:
aload 5
getfield com.sun.security.auth.PolicyFile$PolicyEntry.codesource:Ljava/security/CodeSource;
aload 3
iconst_0
aaload
invokevirtual java.security.CodeSource.implies:(Ljava/security/CodeSource;)Z
ifeq 27
15: iconst_0
istore 6
start local 6 16: goto 26
17: StackMap locals: int
StackMap stack:
aload 5
getfield com.sun.security.auth.PolicyFile$PolicyEntry.permissions:Ljava/util/Vector;
iload 6
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.security.Permission
astore 7
start local 7 18: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 20
19: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc " granting "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
20: StackMap locals: java.security.Permission
StackMap stack:
aload 0
aload 7
aload 5
getfield com.sun.security.auth.PolicyFile$PolicyEntry.codesource:Ljava/security/CodeSource;
21: aload 3
iconst_0
aaload
aload 1
22: invokevirtual com.sun.security.auth.PolicyFile.addSelfPermissions:(Ljava/security/Permission;Ljava/security/CodeSource;Ljava/security/CodeSource;Ljava/security/Permissions;)Z
23: ifne 25
24: aload 1
aload 7
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
end local 7 25: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
26: iload 6
aload 5
getfield com.sun.security.auth.PolicyFile$PolicyEntry.permissions:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 17
end local 6 end local 5 27: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
28: iload 4
aload 0
getfield com.sun.security.auth.PolicyFile.policyEntries:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 8
end local 4 29: aload 0
getfield com.sun.security.auth.PolicyFile.ignoreIdentityScope:Z
ifne 39
30: aload 3
iconst_0
aaload
invokevirtual java.security.CodeSource.getCertificates:()[Ljava/security/cert/Certificate;
astore 4
start local 4 31: aload 4
ifnull 39
32: iconst_0
istore 5
start local 5 33: goto 38
34: StackMap locals: com.sun.security.auth.PolicyFile java.security.Permissions java.security.CodeSource java.security.CodeSource[] java.security.cert.Certificate[] int
StackMap stack:
aload 0
getfield com.sun.security.auth.PolicyFile.aliasMapping:Ljava/util/Hashtable;
aload 4
iload 5
aaload
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 37
35: aload 0
aload 4
iload 5
aaload
invokevirtual com.sun.security.auth.PolicyFile.checkForTrustedIdentity:(Ljava/security/cert/Certificate;)Z
ifeq 37
36: aload 1
new java.security.AllPermission
dup
invokespecial java.security.AllPermission.<init>:()V
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
37: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
38: iload 5
aload 4
arraylength
if_icmplt 34
end local 5 end local 4 39: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lcom/sun/security/auth/PolicyFile;
0 40 1 perms Ljava/security/Permissions;
0 40 2 cs Ljava/security/CodeSource;
3 40 3 codesource [Ljava/security/CodeSource;
7 29 4 i I
9 27 5 entry Lcom/sun/security/auth/PolicyFile$PolicyEntry;
16 27 6 j I
18 25 7 p Ljava/security/Permission;
31 39 4 certs [Ljava/security/cert/Certificate;
33 39 5 k I
MethodParameters:
Name Flags
perms final
cs final
private boolean addSelfPermissions(java.security.Permission, java.security.CodeSource, java.security.CodeSource, java.security.Permissions);
descriptor: (Ljava/security/Permission;Ljava/security/CodeSource;Ljava/security/CodeSource;Ljava/security/Permissions;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
instanceof javax.security.auth.PrivateCredentialPermission
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof com.sun.security.auth.SubjectCodeSource
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.security.auth.PrivateCredentialPermission
astore 5
start local 5 5: aload 2
checkcast com.sun.security.auth.SubjectCodeSource
astore 6
start local 6 6: aload 5
invokevirtual javax.security.auth.PrivateCredentialPermission.getPrincipals:()[[Ljava/lang/String;
astore 7
start local 7 7: aload 7
arraylength
ifle 10
8: aload 7
iconst_0
aaload
iconst_0
aaload
ldc "self"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: aload 7
iconst_0
aaload
iconst_1
aaload
ldc "self"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 11
10: StackMap locals: javax.security.auth.PrivateCredentialPermission com.sun.security.auth.SubjectCodeSource java.lang.String[][]
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.security.auth.SubjectCodeSource.getPrincipals:()Ljava/util/LinkedList;
ifnonnull 13
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.security.auth.SubjectCodeSource.getPrincipals:()Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.listIterator:()Ljava/util/ListIterator;
14: astore 8
start local 8 15: goto 39
16: StackMap locals: java.util.ListIterator
StackMap stack:
aload 8
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast com.sun.security.auth.PolicyParser$PrincipalEntry
astore 9
start local 9 17: aload 0
18: aload 9
aload 3
19: invokevirtual com.sun.security.auth.PolicyFile.getPrincipalInfo:(Lcom/sun/security/auth/PolicyParser$PrincipalEntry;Ljava/security/CodeSource;)[[Ljava/lang/String;
astore 10
start local 10 20: iconst_0
istore 11
start local 11 21: goto 38
22: StackMap locals: com.sun.security.auth.PolicyParser$PrincipalEntry java.lang.String[][] int
StackMap stack:
new javax.security.auth.PrivateCredentialPermission
dup
23: new java.lang.StringBuilder
dup
aload 5
invokevirtual javax.security.auth.PrivateCredentialPermission.getCredentialClass:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: aload 10
iload 11
aaload
iconst_0
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
iload 11
aaload
iconst_1
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
29: ldc "read"
30: invokespecial javax.security.auth.PrivateCredentialPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
31: astore 12
start local 12 32: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 36
33: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "adding SELF permission: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
34: aload 12
invokevirtual javax.security.auth.PrivateCredentialPermission.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
35: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
36: StackMap locals: javax.security.auth.PrivateCredentialPermission
StackMap stack:
aload 4
aload 12
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
end local 12 37: iinc 11 1
StackMap locals:
StackMap stack:
38: iload 11
aload 10
arraylength
if_icmplt 22
end local 11 end local 10 end local 9 39: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 16
end local 8 40: iconst_1
ireturn
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 41 0 this Lcom/sun/security/auth/PolicyFile;
0 41 1 p Ljava/security/Permission;
0 41 2 entryCs Ljava/security/CodeSource;
0 41 3 accCs Ljava/security/CodeSource;
0 41 4 perms Ljava/security/Permissions;
5 41 5 pcp Ljavax/security/auth/PrivateCredentialPermission;
6 41 6 scs Lcom/sun/security/auth/SubjectCodeSource;
7 41 7 pPrincipals [[Ljava/lang/String;
15 40 8 pli Ljava/util/ListIterator<Lcom/sun/security/auth/PolicyParser$PrincipalEntry;>;
17 39 9 principal Lcom/sun/security/auth/PolicyParser$PrincipalEntry;
20 39 10 principalInfo [[Ljava/lang/String;
21 39 11 i I
32 37 12 newPcp Ljavax/security/auth/PrivateCredentialPermission;
MethodParameters:
Name Flags
p final
entryCs
accCs
perms
private java.lang.String[][] getPrincipalInfo(com.sun.security.auth.PolicyParser$PrincipalEntry, java.security.CodeSource);
descriptor: (Lcom/sun/security/auth/PolicyParser$PrincipalEntry;Ljava/security/CodeSource;)[[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
1: ldc "WILDCARD_PRINCIPAL_CLASS"
2: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
3: ifne 12
4: aload 1
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
5: ldc "WILDCARD_PRINCIPAL_NAME"
6: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
7: ifne 12
8: iconst_1
iconst_2
multianewarray [[Ljava/lang/String; 2
astore 3
start local 3 9: aload 3
iconst_0
aaload
iconst_0
aload 1
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
aastore
10: aload 3
iconst_0
aaload
iconst_1
aload 1
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
aastore
11: aload 3
areturn
end local 3 12: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
13: ldc "WILDCARD_PRINCIPAL_CLASS"
14: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
15: ifne 44
16: aload 1
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
17: ldc "WILDCARD_PRINCIPAL_NAME"
18: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
19: ifeq 44
20: aload 2
checkcast com.sun.security.auth.SubjectCodeSource
astore 3
start local 3 21: aconst_null
astore 4
start local 4 22: aload 1
getfield com.sun.security.auth.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
iconst_0
23: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
24: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
25: astore 5
start local 5 26: aload 3
invokevirtual com.sun.security.auth.SubjectCodeSource.getSubject:()Ljavax/security/auth/Subject;
aload 5
invokevirtual javax.security.auth.Subject.getPrincipals:(Ljava/lang/Class;)Ljava/util/Set;
astore 4
end local 5 27: goto 33
StackMap locals: com.sun.security.auth.PolicyFile com.sun.security.auth.PolicyParser$PrincipalEntry java.security.CodeSource com.sun.security.auth.SubjectCodeSource java.util.Set
StackMap stack: java.lang.Exception
28: astore 5
start local 5 29: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
ifnull 33
30: getstatic com.sun.security.auth.PolicyFile.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "problem finding Principal Class when expanding SELF permission: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
31: aload 5
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 5 33: StackMap locals:
StackMap stack:
aload 4
ifnonnull 35
34: iconst_0
iconst_0
multianewarray [[Ljava/lang/String; 2
areturn
35: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Set.size:()I
iconst_2
multianewarray [[Ljava/lang/String; 2
astore 5
start local 5 36: iconst_0
istore 6
start local 6 37: aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 42
StackMap locals: com.sun.security.auth.PolicyFile com.sun.security.auth.PolicyParser$PrincipalEntry java.security.CodeSource com.sun.security.auth.SubjectCodeSource java.util.Set java.lang.String[][] int top java.util.Iterator
StackMap stack:
38: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Principal
astore 7
start local 7 39: aload 5
iload 6
aaload
iconst_0
aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
40: aload 5
iload 6
aaload
iconst_1
aload 7
invokeinterface java.security.Principal.getName:()Ljava/lang/String;
aastore
41: iinc 6 1
end local 7 42: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 38
43: aload 5
areturn
end local 6 end local 5 end local 4 end local 3 44: StackMap locals: com.sun.security.auth.PolicyFile com.sun.security.auth.PolicyParser$PrincipalEntry java.security.CodeSource
StackMap stack:
aload 2
checkcast com.sun.security.auth.SubjectCodeSource
astore 3
start local 3 45: aload 3
invokevirtual com.sun.security.auth.SubjectCodeSource.getSubject:()Ljavax/security/auth/Subject;
invokevirtual javax.security.auth.Subject.getPrincipals:()Ljava/util/Set;
astore 4
start local 4 46: aload 4
invokeinterface java.util.Set.size:()I
iconst_2
multianewarray [[Ljava/lang/String; 2
astore 5
start local 5 47: aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
start local 6 48: iconst_0
istore 7
start local 7 49: goto 54
50: StackMap locals: com.sun.security.auth.PolicyFile com.sun.security.auth.PolicyParser$PrincipalEntry java.security.CodeSource com.sun.security.auth.SubjectCodeSource java.util.Set java.lang.String[][] java.util.Iterator int
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Principal
astore 8
start local 8 51: aload 5
iload 7
aaload
iconst_0
aload 8
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
52: aload 5
iload 7
aaload
iconst_1
aload 8
invokeinterface java.security.Principal.getName:()Ljava/lang/String;
aastore
53: iinc 7 1
end local 8 54: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 50
55: aload 5
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 56 0 this Lcom/sun/security/auth/PolicyFile;
0 56 1 principal Lcom/sun/security/auth/PolicyParser$PrincipalEntry;
0 56 2 accCs Ljava/security/CodeSource;
9 12 3 info [[Ljava/lang/String;
21 44 3 scs Lcom/sun/security/auth/SubjectCodeSource;
22 44 4 principalSet Ljava/util/Set<+Ljava/security/Principal;>;
26 27 5 pClass Ljava/lang/Class<+Ljava/security/Principal;>;
29 33 5 e Ljava/lang/Exception;
36 44 5 info [[Ljava/lang/String;
37 44 6 i I
39 42 7 p Ljava/security/Principal;
45 56 3 scs Lcom/sun/security/auth/SubjectCodeSource;
46 56 4 principalSet Ljava/util/Set<Ljava/security/Principal;>;
47 56 5 info [[Ljava/lang/String;
48 56 6 pIterator Ljava/util/Iterator<Ljava/security/Principal;>;
49 56 7 i I
51 54 8 p Ljava/security/Principal;
Exception table:
from to target type
22 27 28 Class java.lang.Exception
MethodParameters:
Name Flags
principal
accCs final
java.security.cert.Certificate[] getSignerCertificates(java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;)[Ljava/security/cert/Certificate;
flags: (0x0000)
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual java.security.CodeSource.getCertificates:()[Ljava/security/cert/Certificate;
dup
astore 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.security.cert.Certificate[]
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 2
iload 3
aaload
instanceof java.security.cert.X509Certificate
ifne 7
6: aload 1
invokevirtual java.security.CodeSource.getCertificates:()[Ljava/security/cert/Certificate;
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: iconst_0
istore 3
start local 3 10: iconst_0
istore 4
start local 4 11: goto 21
12: StackMap locals: int
StackMap stack:
iinc 4 1
13: goto 15
14: StackMap locals:
StackMap stack:
iinc 3 1
15: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
aload 2
arraylength
if_icmpge 20
16: aload 2
iload 3
aaload
checkcast java.security.cert.X509Certificate
invokevirtual java.security.cert.X509Certificate.getIssuerDN:()Ljava/security/Principal;
17: aload 2
iload 3
iconst_1
iadd
aaload
checkcast java.security.cert.X509Certificate
invokevirtual java.security.cert.X509Certificate.getSubjectDN:()Ljava/security/Principal;
18: invokeinterface java.security.Principal.equals:(Ljava/lang/Object;)Z
19: ifne 14
20: StackMap locals:
StackMap stack:
iinc 3 1
21: StackMap locals:
StackMap stack:
iload 3
aload 2
arraylength
if_icmplt 12
22: iload 4
aload 2
arraylength
if_icmpne 24
23: aload 2
areturn
24: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 25: iconst_0
istore 3
26: goto 36
27: StackMap locals: java.util.ArrayList
StackMap stack:
aload 5
aload 2
iload 3
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
28: goto 30
29: StackMap locals:
StackMap stack:
iinc 3 1
30: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
aload 2
arraylength
if_icmpge 35
31: aload 2
iload 3
aaload
checkcast java.security.cert.X509Certificate
invokevirtual java.security.cert.X509Certificate.getIssuerDN:()Ljava/security/Principal;
32: aload 2
iload 3
iconst_1
iadd
aaload
checkcast java.security.cert.X509Certificate
invokevirtual java.security.cert.X509Certificate.getSubjectDN:()Ljava/security/Principal;
33: invokeinterface java.security.Principal.equals:(Ljava/lang/Object;)Z
34: ifne 29
35: StackMap locals:
StackMap stack:
iinc 3 1
36: StackMap locals:
StackMap stack:
iload 3
aload 2
arraylength
if_icmplt 27
37: aload 5
invokevirtual java.util.ArrayList.size:()I
anewarray java.security.cert.Certificate
astore 6
start local 6 38: aload 5
aload 6
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
39: 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 40 0 this Lcom/sun/security/auth/PolicyFile;
0 40 1 cs Ljava/security/CodeSource;
1 40 2 certs [Ljava/security/cert/Certificate;
4 9 3 i I
10 40 3 i I
11 40 4 count I
25 40 5 userCertList Ljava/util/ArrayList<Ljava/security/cert/Certificate;>;
38 40 6 userCerts [Ljava/security/cert/Certificate;
MethodParameters:
Name Flags
cs
private java.security.CodeSource canonicalizeCodebase(java.security.CodeSource, boolean);
descriptor: (Ljava/security/CodeSource;Z)Ljava/security/CodeSource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 1
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
ifnull 66
2: aload 1
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 66
3: aload 1
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
4: bipush 47
5: getstatic java.io.File.separatorChar:C
6: invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 4
start local 4 7: aconst_null
astore 5
start local 5 8: aload 4
ldc "*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 24
9: aload 4
iconst_0
aload 4
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
10: iconst_0
istore 6
start local 6 11: aload 4
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 13
12: iconst_1
istore 6
13: StackMap locals: com.sun.security.auth.PolicyFile java.security.CodeSource int java.security.CodeSource java.lang.String java.net.URL int
StackMap stack:
aload 4
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
14: ldc "user.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
15: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 7
start local 7 16: aload 7
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 4
17: new java.lang.StringBuffer
dup
aload 4
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 8
start local 8 18: aload 4
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 21
19: iload 6
ifne 20
aload 7
invokevirtual java.io.File.isDirectory:()Z
ifeq 21
20: StackMap locals: java.io.File java.lang.StringBuffer
StackMap stack:
aload 8
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
21: StackMap locals:
StackMap stack:
aload 8
bipush 42
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
22: aload 8
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 4
end local 8 end local 7 end local 6 23: goto 25
24: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 4
25: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURL:()Ljava/net/URL;
astore 5
26: aload 1
instanceof com.sun.security.auth.SubjectCodeSource
ifeq 43
27: aload 1
checkcast com.sun.security.auth.SubjectCodeSource
astore 6
start local 6 28: iload 2
ifeq 36
29: new com.sun.security.auth.SubjectCodeSource
dup
30: aload 6
invokevirtual com.sun.security.auth.SubjectCodeSource.getSubject:()Ljavax/security/auth/Subject;
31: aload 6
invokevirtual com.sun.security.auth.SubjectCodeSource.getPrincipals:()Ljava/util/LinkedList;
32: aload 5
33: aload 0
aload 6
invokevirtual com.sun.security.auth.PolicyFile.getSignerCertificates:(Ljava/security/CodeSource;)[Ljava/security/cert/Certificate;
34: invokespecial com.sun.security.auth.SubjectCodeSource.<init>:(Ljavax/security/auth/Subject;Ljava/util/LinkedList;Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 3
35: goto 78
36: StackMap locals: com.sun.security.auth.SubjectCodeSource
StackMap stack:
new com.sun.security.auth.SubjectCodeSource
dup
37: aload 6
invokevirtual com.sun.security.auth.SubjectCodeSource.getSubject:()Ljavax/security/auth/Subject;
38: aload 6
invokevirtual com.sun.security.auth.SubjectCodeSource.getPrincipals:()Ljava/util/LinkedList;
39: aload 5
40: aload 6
invokevirtual com.sun.security.auth.SubjectCodeSource.getCertificates:()[Ljava/security/cert/Certificate;
41: invokespecial com.sun.security.auth.SubjectCodeSource.<init>:(Ljavax/security/auth/Subject;Ljava/util/LinkedList;Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 3
end local 6 42: goto 78
43: StackMap locals:
StackMap stack:
iload 2
ifeq 48
44: new java.security.CodeSource
dup
aload 5
45: aload 0
aload 1
invokevirtual com.sun.security.auth.PolicyFile.getSignerCertificates:(Ljava/security/CodeSource;)[Ljava/security/cert/Certificate;
46: invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 3
47: goto 78
48: StackMap locals:
StackMap stack:
new java.security.CodeSource
dup
aload 5
49: aload 1
invokevirtual java.security.CodeSource.getCertificates:()[Ljava/security/cert/Certificate;
50: invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 3
end local 5 end local 4 51: goto 78
StackMap locals: com.sun.security.auth.PolicyFile java.security.CodeSource int java.security.CodeSource
StackMap stack: java.io.IOException
52: pop
53: iload 2
ifeq 78
54: aload 1
instanceof com.sun.security.auth.SubjectCodeSource
ifne 59
55: new java.security.CodeSource
dup
aload 1
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
56: aload 0
aload 1
invokevirtual com.sun.security.auth.PolicyFile.getSignerCertificates:(Ljava/security/CodeSource;)[Ljava/security/cert/Certificate;
57: invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 3
58: goto 78
59: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.security.auth.SubjectCodeSource
astore 4
start local 4 60: new com.sun.security.auth.SubjectCodeSource
dup
aload 4
invokevirtual com.sun.security.auth.SubjectCodeSource.getSubject:()Ljavax/security/auth/Subject;
61: aload 4
invokevirtual com.sun.security.auth.SubjectCodeSource.getPrincipals:()Ljava/util/LinkedList;
62: aload 4
invokevirtual com.sun.security.auth.SubjectCodeSource.getLocation:()Ljava/net/URL;
63: aload 0
aload 4
invokevirtual com.sun.security.auth.PolicyFile.getSignerCertificates:(Ljava/security/CodeSource;)[Ljava/security/cert/Certificate;
64: invokespecial com.sun.security.auth.SubjectCodeSource.<init>:(Ljavax/security/auth/Subject;Ljava/util/LinkedList;Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 3
end local 4 65: goto 78
66: StackMap locals:
StackMap stack:
iload 2
ifeq 78
67: aload 1
instanceof com.sun.security.auth.SubjectCodeSource
ifne 72
68: new java.security.CodeSource
dup
aload 1
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
69: aload 0
aload 1
invokevirtual com.sun.security.auth.PolicyFile.getSignerCertificates:(Ljava/security/CodeSource;)[Ljava/security/cert/Certificate;
70: invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 3
71: goto 78
72: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.security.auth.SubjectCodeSource
astore 4
start local 4 73: new com.sun.security.auth.SubjectCodeSource
dup
aload 4
invokevirtual com.sun.security.auth.SubjectCodeSource.getSubject:()Ljavax/security/auth/Subject;
74: aload 4
invokevirtual com.sun.security.auth.SubjectCodeSource.getPrincipals:()Ljava/util/LinkedList;
75: aload 4
invokevirtual com.sun.security.auth.SubjectCodeSource.getLocation:()Ljava/net/URL;
76: aload 0
aload 4
invokevirtual com.sun.security.auth.PolicyFile.getSignerCertificates:(Ljava/security/CodeSource;)[Ljava/security/cert/Certificate;
77: invokespecial com.sun.security.auth.SubjectCodeSource.<init>:(Ljavax/security/auth/Subject;Ljava/util/LinkedList;Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 3
end local 4 78: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 79 0 this Lcom/sun/security/auth/PolicyFile;
0 79 1 cs Ljava/security/CodeSource;
0 79 2 extractSignerCerts Z
1 79 3 canonCs Ljava/security/CodeSource;
7 51 4 path Ljava/lang/String;
8 51 5 csUrl Ljava/net/URL;
11 23 6 appendFileSep Z
16 23 7 f Ljava/io/File;
18 23 8 sb Ljava/lang/StringBuffer;
28 42 6 scs Lcom/sun/security/auth/SubjectCodeSource;
60 65 4 scs Lcom/sun/security/auth/SubjectCodeSource;
73 78 4 scs Lcom/sun/security/auth/SubjectCodeSource;
Exception table:
from to target type
3 51 52 Class java.io.IOException
MethodParameters:
Name Flags
cs
extractSignerCerts
}
SourceFile: "PolicyFile.java"
NestMembers:
com.sun.security.auth.PolicyFile$1 com.sun.security.auth.PolicyFile$2 com.sun.security.auth.PolicyFile$3 com.sun.security.auth.PolicyFile$PolicyEntry
InnerClasses:
com.sun.security.auth.PolicyFile$1
com.sun.security.auth.PolicyFile$2
com.sun.security.auth.PolicyFile$3
private PolicyEntry = com.sun.security.auth.PolicyFile$PolicyEntry of com.sun.security.auth.PolicyFile
GrantEntry = com.sun.security.auth.PolicyParser$GrantEntry of com.sun.security.auth.PolicyParser
ParsingException = com.sun.security.auth.PolicyParser$ParsingException of com.sun.security.auth.PolicyParser
PermissionEntry = com.sun.security.auth.PolicyParser$PermissionEntry of com.sun.security.auth.PolicyParser
PrincipalEntry = com.sun.security.auth.PolicyParser$PrincipalEntry of com.sun.security.auth.PolicyParser
RuntimeVisibleAnnotations:
java.lang.Deprecated()