public final class org.apache.catalina.security.SecurityUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.catalina.security.SecurityUtil
super_class: java.lang.Object
{
private static final int INIT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int SERVICE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int DOFILTER;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int EVENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DOFILTEREVENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DESTROY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final java.lang.String INIT_METHOD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "init"
private static final java.lang.String DOFILTER_METHOD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "doFilter"
private static final java.lang.String SERVICE_METHOD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "service"
private static final java.lang.String EVENT_METHOD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "event"
private static final java.lang.String DOFILTEREVENT_METHOD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "doFilterEvent"
private static final java.lang.String DESTROY_METHOD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "destroy"
private static final java.util.Map<java.lang.Class<?>, java.lang.reflect.Method[]> classCache;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;[Ljava/lang/reflect/Method;>;
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 boolean packageDefinitionEnabled;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
1: ldc Lorg/apache/catalina/security/SecurityUtil;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.security.SecurityUtil.log:Lorg/apache/juli/logging/Log;
2: ldc "package.definition"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 4
3: ldc "package.access"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 4
iconst_0
goto 5
StackMap locals:
StackMap stack:
4: iconst_1
5: StackMap locals:
StackMap stack: int
putstatic org.apache.catalina.security.SecurityUtil.packageDefinitionEnabled:Z
6: ldc "org.apache.catalina.security"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
7: putstatic org.apache.catalina.security.SecurityUtil.sm:Lorg/apache/tomcat/util/res/StringManager;
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/security/SecurityUtil;
public static void doAsPrivilege(java.lang.String, javax.servlet.Servlet);
descriptor: (Ljava/lang/String;Ljavax/servlet/Servlet;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
aconst_null
invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljavax/servlet/Servlet;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 methodName Ljava/lang/String;
0 2 1 targetObject Ljavax/servlet/Servlet;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
methodName final
targetObject final
public static void doAsPrivilege(java.lang.String, javax.servlet.Servlet, java.lang.Class<?>[], []);
descriptor: (Ljava/lang/String;Ljavax/servlet/Servlet;[Ljava/lang/Class;[Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
1: aload 1
2: aload 2
3: aload 3
4: aconst_null
5: invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljavax/servlet/Servlet;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 methodName Ljava/lang/String;
0 7 1 targetObject Ljavax/servlet/Servlet;
0 7 2 targetType [Ljava/lang/Class;
0 7 3 targetArguments [Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/String;Ljavax/servlet/Servlet;[Ljava/lang/Class<*>;[Ljava/lang/Object;)V
MethodParameters:
Name Flags
methodName final
targetObject final
targetType final
targetArguments final
public static void doAsPrivilege(java.lang.String, javax.servlet.Servlet, java.lang.Class<?>[], [], java.security.Principal);
descriptor: (Ljava/lang/String;Ljavax/servlet/Servlet;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: getstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
ldc Ljavax/servlet/Servlet;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.reflect.Method[]
astore 6
start local 6 2: aload 6
ifnonnull 9
3: aconst_null
4: ldc Ljavax/servlet/Servlet;
5: aload 0
6: aload 2
7: invokestatic org.apache.catalina.security.SecurityUtil.createMethodAndCacheIt:([Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 5
8: goto 16
9: StackMap locals: java.lang.reflect.Method java.lang.reflect.Method[]
StackMap stack:
aload 6
aload 0
invokestatic org.apache.catalina.security.SecurityUtil.findMethod:([Ljava/lang/reflect/Method;Ljava/lang/String;)Ljava/lang/reflect/Method;
astore 5
10: aload 5
ifnonnull 16
11: aload 6
12: ldc Ljavax/servlet/Servlet;
13: aload 0
14: aload 2
15: invokestatic org.apache.catalina.security.SecurityUtil.createMethodAndCacheIt:([Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 5
16: StackMap locals:
StackMap stack:
aload 5
aload 1
aload 3
aload 4
invokestatic org.apache.catalina.security.SecurityUtil.execute:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/security/Principal;)V
17: 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 18 0 methodName Ljava/lang/String;
0 18 1 targetObject Ljavax/servlet/Servlet;
0 18 2 targetParameterTypes [Ljava/lang/Class;
0 18 3 targetArguments [Ljava/lang/Object;
0 18 4 principal Ljava/security/Principal;
1 18 5 method Ljava/lang/reflect/Method;
2 18 6 methodsCache [Ljava/lang/reflect/Method;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/String;Ljavax/servlet/Servlet;[Ljava/lang/Class<*>;[Ljava/lang/Object;Ljava/security/Principal;)V
MethodParameters:
Name Flags
methodName final
targetObject final
targetParameterTypes final
targetArguments final
principal
public static void doAsPrivilege(java.lang.String, javax.servlet.Filter);
descriptor: (Ljava/lang/String;Ljavax/servlet/Filter;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljavax/servlet/Filter;[Ljava/lang/Class;[Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 methodName Ljava/lang/String;
0 2 1 targetObject Ljavax/servlet/Filter;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
methodName final
targetObject final
public static void doAsPrivilege(java.lang.String, javax.servlet.Filter, java.lang.Class<?>[], []);
descriptor: (Ljava/lang/String;Ljavax/servlet/Filter;[Ljava/lang/Class;[Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
1: invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljavax/servlet/Filter;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 methodName Ljava/lang/String;
0 3 1 targetObject Ljavax/servlet/Filter;
0 3 2 targetType [Ljava/lang/Class;
0 3 3 targetArguments [Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/String;Ljavax/servlet/Filter;[Ljava/lang/Class<*>;[Ljava/lang/Object;)V
MethodParameters:
Name Flags
methodName final
targetObject final
targetType final
targetArguments final
public static void doAsPrivilege(java.lang.String, javax.servlet.Filter, java.lang.Class<?>[], [], java.security.Principal);
descriptor: (Ljava/lang/String;Ljavax/servlet/Filter;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: getstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
ldc Ljavax/servlet/Filter;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.reflect.Method[]
astore 6
start local 6 2: aload 6
ifnonnull 9
3: aconst_null
4: ldc Ljavax/servlet/Filter;
5: aload 0
6: aload 2
7: invokestatic org.apache.catalina.security.SecurityUtil.createMethodAndCacheIt:([Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 5
8: goto 16
9: StackMap locals: java.lang.reflect.Method java.lang.reflect.Method[]
StackMap stack:
aload 6
aload 0
invokestatic org.apache.catalina.security.SecurityUtil.findMethod:([Ljava/lang/reflect/Method;Ljava/lang/String;)Ljava/lang/reflect/Method;
astore 5
10: aload 5
ifnonnull 16
11: aload 6
12: ldc Ljavax/servlet/Filter;
13: aload 0
14: aload 2
15: invokestatic org.apache.catalina.security.SecurityUtil.createMethodAndCacheIt:([Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 5
16: StackMap locals:
StackMap stack:
aload 5
aload 1
aload 3
aload 4
invokestatic org.apache.catalina.security.SecurityUtil.execute:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/security/Principal;)V
17: 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 18 0 methodName Ljava/lang/String;
0 18 1 targetObject Ljavax/servlet/Filter;
0 18 2 targetParameterTypes [Ljava/lang/Class;
0 18 3 targetParameterValues [Ljava/lang/Object;
0 18 4 principal Ljava/security/Principal;
1 18 5 method Ljava/lang/reflect/Method;
2 18 6 methodsCache [Ljava/lang/reflect/Method;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/String;Ljavax/servlet/Filter;[Ljava/lang/Class<*>;[Ljava/lang/Object;Ljava/security/Principal;)V
MethodParameters:
Name Flags
methodName final
targetObject final
targetParameterTypes final
targetParameterValues final
principal
private static void execute(java.lang.reflect.Method, java.lang.Object, java.lang.Object[], java.security.Principal);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/security/Principal;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: new org.apache.catalina.security.SecurityUtil$1
dup
aload 0
aload 1
aload 2
invokespecial org.apache.catalina.security.SecurityUtil$1.<init>:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)V
2: astore 5
start local 5 3: aload 2
ifnull 21
4: aload 2
iconst_0
aaload
instanceof javax.servlet.http.HttpServletRequest
ifeq 21
5: aload 2
iconst_0
aaload
checkcast javax.servlet.http.HttpServletRequest
6: astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: aload 6
iconst_0
invokeinterface javax.servlet.http.HttpServletRequest.getSession:(Z)Ljavax/servlet/http/HttpSession;
astore 8
start local 8 9: aload 8
ifnull 15
10: aload 8
ldc "javax.security.auth.subject"
invokeinterface javax.servlet.http.HttpSession.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.security.auth.Subject
11: astore 4
12: aload 4
ifnull 13
iconst_1
goto 14
StackMap locals: java.lang.reflect.Method java.lang.Object java.lang.Object[] java.security.Principal javax.security.auth.Subject java.security.PrivilegedExceptionAction javax.servlet.http.HttpServletRequest int javax.servlet.http.HttpSession
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 7
15: StackMap locals:
StackMap stack:
aload 4
ifnonnull 19
16: new javax.security.auth.Subject
dup
invokespecial javax.security.auth.Subject.<init>:()V
astore 4
17: aload 3
ifnull 19
18: aload 4
invokevirtual javax.security.auth.Subject.getPrincipals:()Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
19: StackMap locals:
StackMap stack:
aload 8
ifnull 21
iload 7
ifne 21
20: aload 8
ldc "javax.security.auth.subject"
aload 4
invokeinterface javax.servlet.http.HttpSession.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
end local 8 end local 7 end local 6 21: StackMap locals:
StackMap stack:
aload 4
aload 5
aconst_null
invokestatic javax.security.auth.Subject.doAsPrivileged:(Ljavax/security/auth/Subject;Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
end local 5 end local 4 22: goto 40
StackMap locals: java.lang.reflect.Method java.lang.Object java.lang.Object[] java.security.Principal
StackMap stack: java.security.PrivilegedActionException
23: astore 4
start local 4 24: aload 4
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
instanceof java.lang.reflect.InvocationTargetException
ifeq 28
25: aload 4
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
astore 5
start local 5 26: aload 5
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
27: goto 29
end local 5 28: StackMap locals: java.security.PrivilegedActionException
StackMap stack:
aload 4
astore 5
start local 5 29: StackMap locals: java.lang.Throwable
StackMap stack:
getstatic org.apache.catalina.security.SecurityUtil.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 31
30: getstatic org.apache.catalina.security.SecurityUtil.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.security.SecurityUtil.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "SecurityUtil.doAsPrivilege"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 5
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
31: StackMap locals:
StackMap stack:
aload 5
instanceof javax.servlet.UnavailableException
ifeq 33
32: aload 5
checkcast javax.servlet.UnavailableException
athrow
33: StackMap locals:
StackMap stack:
aload 5
instanceof javax.servlet.ServletException
ifeq 35
34: aload 5
checkcast javax.servlet.ServletException
athrow
35: StackMap locals:
StackMap stack:
aload 5
instanceof java.io.IOException
ifeq 37
36: aload 5
checkcast java.io.IOException
athrow
37: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.RuntimeException
ifeq 39
38: aload 5
checkcast java.lang.RuntimeException
athrow
39: StackMap locals:
StackMap stack:
new javax.servlet.ServletException
dup
aload 5
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
aload 5
invokespecial javax.servlet.ServletException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 40: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 method Ljava/lang/reflect/Method;
0 41 1 targetObject Ljava/lang/Object;
0 41 2 targetArguments [Ljava/lang/Object;
0 41 3 principal Ljava/security/Principal;
1 22 4 subject Ljavax/security/auth/Subject;
3 22 5 pea Ljava/security/PrivilegedExceptionAction<Ljava/lang/Void;>;
7 21 6 request Ljavax/servlet/http/HttpServletRequest;
8 21 7 hasSubject Z
9 21 8 session Ljavax/servlet/http/HttpSession;
24 40 4 pe Ljava/security/PrivilegedActionException;
26 28 5 e Ljava/lang/Throwable;
29 40 5 e Ljava/lang/Throwable;
Exception table:
from to target type
0 22 23 Class java.security.PrivilegedActionException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
method final
targetObject final
targetArguments final
principal
private static java.lang.reflect.Method findMethod(java.lang.reflect.Method[], java.lang.String);
descriptor: ([Ljava/lang/reflect/Method;Ljava/lang/String;)Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "init"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
iconst_0
aaload
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "destroy"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
iconst_3
aaload
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "service"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 0
iconst_1
aaload
areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc "doFilter"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 0
iconst_1
aaload
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc "event"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 0
iconst_2
aaload
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc "doFilterEvent"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: aload 0
iconst_2
aaload
areturn
12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 methodsCache [Ljava/lang/reflect/Method;
0 13 1 methodName Ljava/lang/String;
MethodParameters:
Name Flags
methodsCache
methodName
private static java.lang.reflect.Method createMethodAndCacheIt(java.lang.reflect.Method[], java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: ([Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 2
1: iconst_4
anewarray java.lang.reflect.Method
astore 0
2: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
start local 4 3: aload 2
ldc "init"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
iconst_0
aload 4
aastore
5: goto 20
StackMap locals: java.lang.reflect.Method
StackMap stack:
6: aload 2
ldc "destroy"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
iconst_3
aload 4
aastore
8: goto 20
StackMap locals:
StackMap stack:
9: aload 2
ldc "service"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
iconst_1
aload 4
aastore
11: goto 20
StackMap locals:
StackMap stack:
12: aload 2
ldc "doFilter"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
iconst_1
aload 4
aastore
14: goto 20
StackMap locals:
StackMap stack:
15: aload 2
ldc "event"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 0
iconst_2
aload 4
aastore
17: goto 20
StackMap locals:
StackMap stack:
18: aload 2
ldc "doFilterEvent"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
19: aload 0
iconst_2
aload 4
aastore
20: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
aload 1
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: aload 4
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 methodsCache [Ljava/lang/reflect/Method;
0 22 1 targetType Ljava/lang/Class<*>;
0 22 2 methodName Ljava/lang/String;
0 22 3 parameterTypes [Ljava/lang/Class;
3 22 4 method Ljava/lang/reflect/Method;
Exceptions:
throws java.lang.Exception
Signature: ([Ljava/lang/reflect/Method;Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
methodsCache
targetType
methodName
parameterTypes
public static void remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cachedObject Ljava/lang/Object;
MethodParameters:
Name Flags
cachedObject
public static boolean isPackageProtectionEnabled();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.catalina.security.SecurityUtil.packageDefinitionEnabled:Z
ifeq 2
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SecurityUtil.java"
NestMembers:
org.apache.catalina.security.SecurityUtil$1
InnerClasses:
org.apache.catalina.security.SecurityUtil$1