public final class org.apache.catalina.security.SecurityConfig
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.catalina.security.SecurityConfig
super_class: java.lang.Object
{
private static final java.lang.Object singletonLock;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile org.apache.catalina.security.SecurityConfig singleton;
descriptor: Lorg/apache/catalina/security/SecurityConfig;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String PACKAGE_ACCESS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.,org.apache.catalina.,org.apache.jasper.,org.apache.coyote.,org.apache.tomcat."
private static final java.lang.String PACKAGE_DEFINITION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.,sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper."
private final java.lang.String packageDefinition;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String packageAccess;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.apache.catalina.security.SecurityConfig.singletonLock:Ljava/lang/Object;
1: aconst_null
putstatic org.apache.catalina.security.SecurityConfig.singleton:Lorg/apache/catalina/security/SecurityConfig;
2: ldc Lorg/apache/catalina/security/SecurityConfig;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.security.SecurityConfig.log:Lorg/apache/juli/logging/Log;
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aconst_null
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: ldc "package.definition"
invokestatic org.apache.catalina.startup.CatalinaProperties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
4: ldc "package.access"
invokestatic org.apache.catalina.startup.CatalinaProperties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
5: goto 15
StackMap locals: org.apache.catalina.security.SecurityConfig java.lang.String java.lang.String
StackMap stack: java.lang.Exception
6: astore 3
start local 3 7: getstatic org.apache.catalina.security.SecurityConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 9
8: getstatic org.apache.catalina.security.SecurityConfig.log:Lorg/apache/juli/logging/Log;
ldc "Unable to load properties using CatalinaProperties"
aload 3
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.security.SecurityConfig.packageDefinition:Ljava/lang/String;
10: aload 0
aload 2
putfield org.apache.catalina.security.SecurityConfig.packageAccess:Ljava/lang/String;
goto 17
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
12: aload 0
aload 1
putfield org.apache.catalina.security.SecurityConfig.packageDefinition:Ljava/lang/String;
13: aload 0
aload 2
putfield org.apache.catalina.security.SecurityConfig.packageAccess:Ljava/lang/String;
14: aload 4
athrow
15: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.security.SecurityConfig.packageDefinition:Ljava/lang/String;
16: aload 0
aload 2
putfield org.apache.catalina.security.SecurityConfig.packageAccess:Ljava/lang/String;
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/security/SecurityConfig;
2 18 1 definition Ljava/lang/String;
3 18 2 access Ljava/lang/String;
7 9 3 ex Ljava/lang/Exception;
Exception table:
from to target type
3 5 6 Class java.lang.Exception
3 9 11 any
public static org.apache.catalina.security.SecurityConfig newInstance();
descriptor: ()Lorg/apache/catalina/security/SecurityConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.apache.catalina.security.SecurityConfig.singleton:Lorg/apache/catalina/security/SecurityConfig;
ifnonnull 8
1: getstatic org.apache.catalina.security.SecurityConfig.singletonLock:Ljava/lang/Object;
dup
astore 0
monitorenter
2: getstatic org.apache.catalina.security.SecurityConfig.singleton:Lorg/apache/catalina/security/SecurityConfig;
ifnonnull 4
3: new org.apache.catalina.security.SecurityConfig
dup
invokespecial org.apache.catalina.security.SecurityConfig.<init>:()V
putstatic org.apache.catalina.security.SecurityConfig.singleton:Lorg/apache/catalina/security/SecurityConfig;
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 0
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.security.SecurityConfig.singleton:Lorg/apache/catalina/security/SecurityConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 5 6 any
6 7 6 any
public void setPackageAccess();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.security.SecurityConfig.packageAccess:Ljava/lang/String;
ifnonnull 3
1: aload 0
ldc "package.access"
ldc "sun.,org.apache.catalina.,org.apache.jasper.,org.apache.coyote.,org.apache.tomcat."
invokevirtual org.apache.catalina.security.SecurityConfig.setSecurityProperty:(Ljava/lang/String;Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
ldc "package.access"
aload 0
getfield org.apache.catalina.security.SecurityConfig.packageAccess:Ljava/lang/String;
invokevirtual org.apache.catalina.security.SecurityConfig.setSecurityProperty:(Ljava/lang/String;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/security/SecurityConfig;
public void setPackageDefinition();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.security.SecurityConfig.packageDefinition:Ljava/lang/String;
ifnonnull 3
1: aload 0
ldc "package.definition"
ldc "java.,sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper."
invokevirtual org.apache.catalina.security.SecurityConfig.setSecurityProperty:(Ljava/lang/String;Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
ldc "package.definition"
aload 0
getfield org.apache.catalina.security.SecurityConfig.packageDefinition:Ljava/lang/String;
invokevirtual org.apache.catalina.security.SecurityConfig.setSecurityProperty:(Ljava/lang/String;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/security/SecurityConfig;
private final void setSecurityProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 8
1: aload 1
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnull 6
aload 3
invokevirtual java.lang.String.length:()I
ifle 6
3: aload 2
invokevirtual java.lang.String.length:()I
ifle 7
4: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
5: goto 7
6: StackMap locals: java.lang.String
StackMap stack:
aload 2
astore 3
7: StackMap locals:
StackMap stack:
aload 1
aload 3
invokestatic java.security.Security.setProperty:(Ljava/lang/String;Ljava/lang/String;)V
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/security/SecurityConfig;
0 9 1 properties Ljava/lang/String;
0 9 2 packageList Ljava/lang/String;
2 8 3 definition Ljava/lang/String;
MethodParameters:
Name Flags
properties
packageList
}
SourceFile: "SecurityConfig.java"