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: .line 74
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
         1: .line 76
            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: .line 79
            ldc "package.definition"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            ifnonnull 4
         3: .line 80
            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: .line 78
      StackMap locals:
      StackMap stack: int
            putstatic org.apache.catalina.security.SecurityUtil.packageDefinitionEnabled:Z
         6: .line 86
            ldc "org.apache.catalina.security"
            invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
         7: .line 85
            putstatic org.apache.catalina.security.SecurityUtil.sm:Lorg/apache/tomcat/util/res/StringManager;
         8: .line 86
            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 // org.apache.catalina.security.SecurityUtil this
         0: .line 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.apache.catalina.security.SecurityUtil this
      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 // java.lang.String methodName
        start local 1 // javax.servlet.Servlet targetObject
         0: .line 100
            aload 0 /* methodName */
            aload 1 /* targetObject */
            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: .line 101
            return
        end local 1 // javax.servlet.Servlet targetObject
        end local 0 // java.lang.String methodName
      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 // java.lang.String methodName
        start local 1 // javax.servlet.Servlet targetObject
        start local 2 // java.lang.Class[] targetType
        start local 3 // java.lang.Object[] targetArguments
         0: .line 123
            aload 0 /* methodName */
         1: .line 124
            aload 1 /* targetObject */
         2: .line 125
            aload 2 /* targetType */
         3: .line 126
            aload 3 /* targetArguments */
         4: .line 127
            aconst_null
         5: .line 123
            invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljavax/servlet/Servlet;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
         6: .line 128
            return
        end local 3 // java.lang.Object[] targetArguments
        end local 2 // java.lang.Class[] targetType
        end local 1 // javax.servlet.Servlet targetObject
        end local 0 // java.lang.String methodName
      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 // java.lang.String methodName
        start local 1 // javax.servlet.Servlet targetObject
        start local 2 // java.lang.Class[] targetParameterTypes
        start local 3 // java.lang.Object[] targetArguments
        start local 4 // java.security.Principal principal
         0: .line 153
            aconst_null
            astore 5 /* method */
        start local 5 // java.lang.reflect.Method method
         1: .line 154
            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 /* methodsCache */
        start local 6 // java.lang.reflect.Method[] methodsCache
         2: .line 155
            aload 6 /* methodsCache */
            ifnonnull 9
         3: .line 156
            aconst_null
         4: .line 157
            ldc Ljavax/servlet/Servlet;
         5: .line 158
            aload 0 /* methodName */
         6: .line 159
            aload 2 /* targetParameterTypes */
         7: .line 156
            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 /* method */
         8: .line 160
            goto 16
         9: .line 161
      StackMap locals: java.lang.reflect.Method java.lang.reflect.Method[]
      StackMap stack:
            aload 6 /* methodsCache */
            aload 0 /* methodName */
            invokestatic org.apache.catalina.security.SecurityUtil.findMethod:([Ljava/lang/reflect/Method;Ljava/lang/String;)Ljava/lang/reflect/Method;
            astore 5 /* method */
        10: .line 162
            aload 5 /* method */
            ifnonnull 16
        11: .line 163
            aload 6 /* methodsCache */
        12: .line 164
            ldc Ljavax/servlet/Servlet;
        13: .line 165
            aload 0 /* methodName */
        14: .line 166
            aload 2 /* targetParameterTypes */
        15: .line 163
            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 /* method */
        16: .line 170
      StackMap locals:
      StackMap stack:
            aload 5 /* method */
            aload 1 /* targetObject */
            aload 3 /* targetArguments */
            aload 4 /* principal */
            invokestatic org.apache.catalina.security.SecurityUtil.execute:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/security/Principal;)V
        17: .line 171
            return
        end local 6 // java.lang.reflect.Method[] methodsCache
        end local 5 // java.lang.reflect.Method method
        end local 4 // java.security.Principal principal
        end local 3 // java.lang.Object[] targetArguments
        end local 2 // java.lang.Class[] targetParameterTypes
        end local 1 // javax.servlet.Servlet targetObject
        end local 0 // java.lang.String methodName
      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 // java.lang.String methodName
        start local 1 // javax.servlet.Filter targetObject
         0: .line 187
            aload 0 /* methodName */
            aload 1 /* targetObject */
            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: .line 188
            return
        end local 1 // javax.servlet.Filter targetObject
        end local 0 // java.lang.String methodName
      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 // java.lang.String methodName
        start local 1 // javax.servlet.Filter targetObject
        start local 2 // java.lang.Class[] targetType
        start local 3 // java.lang.Object[] targetArguments
         0: .line 211
            aload 0 /* methodName */
            aload 1 /* targetObject */
            aload 2 /* targetType */
            aload 3 /* targetArguments */
            aconst_null
         1: .line 210
            invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljavax/servlet/Filter;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
         2: .line 212
            return
        end local 3 // java.lang.Object[] targetArguments
        end local 2 // java.lang.Class[] targetType
        end local 1 // javax.servlet.Filter targetObject
        end local 0 // java.lang.String methodName
      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 // java.lang.String methodName
        start local 1 // javax.servlet.Filter targetObject
        start local 2 // java.lang.Class[] targetParameterTypes
        start local 3 // java.lang.Object[] targetParameterValues
        start local 4 // java.security.Principal principal
         0: .line 236
            aconst_null
            astore 5 /* method */
        start local 5 // java.lang.reflect.Method method
         1: .line 237
            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 /* methodsCache */
        start local 6 // java.lang.reflect.Method[] methodsCache
         2: .line 238
            aload 6 /* methodsCache */
            ifnonnull 9
         3: .line 239
            aconst_null
         4: .line 240
            ldc Ljavax/servlet/Filter;
         5: .line 241
            aload 0 /* methodName */
         6: .line 242
            aload 2 /* targetParameterTypes */
         7: .line 239
            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 /* method */
         8: .line 243
            goto 16
         9: .line 244
      StackMap locals: java.lang.reflect.Method java.lang.reflect.Method[]
      StackMap stack:
            aload 6 /* methodsCache */
            aload 0 /* methodName */
            invokestatic org.apache.catalina.security.SecurityUtil.findMethod:([Ljava/lang/reflect/Method;Ljava/lang/String;)Ljava/lang/reflect/Method;
            astore 5 /* method */
        10: .line 245
            aload 5 /* method */
            ifnonnull 16
        11: .line 246
            aload 6 /* methodsCache */
        12: .line 247
            ldc Ljavax/servlet/Filter;
        13: .line 248
            aload 0 /* methodName */
        14: .line 249
            aload 2 /* targetParameterTypes */
        15: .line 246
            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 /* method */
        16: .line 253
      StackMap locals:
      StackMap stack:
            aload 5 /* method */
            aload 1 /* targetObject */
            aload 3 /* targetParameterValues */
            aload 4 /* principal */
            invokestatic org.apache.catalina.security.SecurityUtil.execute:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;Ljava/security/Principal;)V
        17: .line 254
            return
        end local 6 // java.lang.reflect.Method[] methodsCache
        end local 5 // java.lang.reflect.Method method
        end local 4 // java.security.Principal principal
        end local 3 // java.lang.Object[] targetParameterValues
        end local 2 // java.lang.Class[] targetParameterTypes
        end local 1 // javax.servlet.Filter targetObject
        end local 0 // java.lang.String methodName
      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 // java.lang.reflect.Method method
        start local 1 // java.lang.Object targetObject
        start local 2 // java.lang.Object[] targetArguments
        start local 3 // java.security.Principal principal
         0: .line 277
            aconst_null
            astore 4 /* subject */
        start local 4 // javax.security.auth.Subject subject
         1: .line 279
            new org.apache.catalina.security.SecurityUtil$1
            dup
            aload 0 /* method */
            aload 1 /* targetObject */
            aload 2 /* targetArguments */
            invokespecial org.apache.catalina.security.SecurityUtil$1.<init>:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)V
         2: .line 278
            astore 5 /* pea */
        start local 5 // java.security.PrivilegedExceptionAction pea
         3: .line 288
            aload 2 /* targetArguments */
            ifnull 21
         4: .line 289
            aload 2 /* targetArguments */
            iconst_0
            aaload
            instanceof javax.servlet.http.HttpServletRequest
            ifeq 21
         5: .line 291
            aload 2 /* targetArguments */
            iconst_0
            aaload
            checkcast javax.servlet.http.HttpServletRequest
         6: .line 290
            astore 6 /* request */
        start local 6 // javax.servlet.http.HttpServletRequest request
         7: .line 293
            iconst_0
            istore 7 /* hasSubject */
        start local 7 // boolean hasSubject
         8: .line 294
            aload 6 /* request */
            iconst_0
            invokeinterface javax.servlet.http.HttpServletRequest.getSession:(Z)Ljavax/servlet/http/HttpSession;
            astore 8 /* session */
        start local 8 // javax.servlet.http.HttpSession session
         9: .line 295
            aload 8 /* session */
            ifnull 15
        10: .line 297
            aload 8 /* session */
            ldc "javax.security.auth.subject"
            invokeinterface javax.servlet.http.HttpSession.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
            checkcast javax.security.auth.Subject
        11: .line 296
            astore 4 /* subject */
        12: .line 298
            aload 4 /* subject */
            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 /* hasSubject */
        15: .line 301
      StackMap locals:
      StackMap stack:
            aload 4 /* subject */
            ifnonnull 19
        16: .line 302
            new javax.security.auth.Subject
            dup
            invokespecial javax.security.auth.Subject.<init>:()V
            astore 4 /* subject */
        17: .line 304
            aload 3 /* principal */
            ifnull 19
        18: .line 305
            aload 4 /* subject */
            invokevirtual javax.security.auth.Subject.getPrincipals:()Ljava/util/Set;
            aload 3 /* principal */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        19: .line 309
      StackMap locals:
      StackMap stack:
            aload 8 /* session */
            ifnull 21
            iload 7 /* hasSubject */
            ifne 21
        20: .line 310
            aload 8 /* session */
            ldc "javax.security.auth.subject"
            aload 4 /* subject */
            invokeinterface javax.servlet.http.HttpSession.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
        end local 8 // javax.servlet.http.HttpSession session
        end local 7 // boolean hasSubject
        end local 6 // javax.servlet.http.HttpServletRequest request
        21: .line 314
      StackMap locals:
      StackMap stack:
            aload 4 /* subject */
            aload 5 /* pea */
            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 // java.security.PrivilegedExceptionAction pea
        end local 4 // javax.security.auth.Subject subject
        22: .line 315
            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 /* pe */
        start local 4 // java.security.PrivilegedActionException pe
        24: .line 317
            aload 4 /* pe */
            invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
            instanceof java.lang.reflect.InvocationTargetException
            ifeq 28
        25: .line 318
            aload 4 /* pe */
            invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
            invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
            astore 5 /* e */
        start local 5 // java.lang.Throwable e
        26: .line 319
            aload 5 /* e */
            invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
        27: .line 320
            goto 29
        end local 5 // java.lang.Throwable e
        28: .line 321
      StackMap locals: java.security.PrivilegedActionException
      StackMap stack:
            aload 4 /* pe */
            astore 5 /* e */
        start local 5 // java.lang.Throwable e
        29: .line 324
      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: .line 325
            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 /* e */
            invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        31: .line 328
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            instanceof javax.servlet.UnavailableException
            ifeq 33
        32: .line 329
            aload 5 /* e */
            checkcast javax.servlet.UnavailableException
            athrow
        33: .line 330
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            instanceof javax.servlet.ServletException
            ifeq 35
        34: .line 331
            aload 5 /* e */
            checkcast javax.servlet.ServletException
            athrow
        35: .line 332
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            instanceof java.io.IOException
            ifeq 37
        36: .line 333
            aload 5 /* e */
            checkcast java.io.IOException
            athrow
        37: .line 334
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            instanceof java.lang.RuntimeException
            ifeq 39
        38: .line 335
            aload 5 /* e */
            checkcast java.lang.RuntimeException
            athrow
        39: .line 337
      StackMap locals:
      StackMap stack:
            new javax.servlet.ServletException
            dup
            aload 5 /* e */
            invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
            aload 5 /* e */
            invokespecial javax.servlet.ServletException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 5 // java.lang.Throwable e
        end local 4 // java.security.PrivilegedActionException pe
        40: .line 339
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.security.Principal principal
        end local 2 // java.lang.Object[] targetArguments
        end local 1 // java.lang.Object targetObject
        end local 0 // java.lang.reflect.Method method
      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 // java.lang.reflect.Method[] methodsCache
        start local 1 // java.lang.String methodName
         0: .line 350
            aload 1 /* methodName */
            ldc "init"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 351
            aload 0 /* methodsCache */
            iconst_0
            aaload
            areturn
         2: .line 352
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "destroy"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 353
            aload 0 /* methodsCache */
            iconst_3
            aaload
            areturn
         4: .line 354
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "service"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 355
            aload 0 /* methodsCache */
            iconst_1
            aaload
            areturn
         6: .line 356
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "doFilter"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 8
         7: .line 357
            aload 0 /* methodsCache */
            iconst_1
            aaload
            areturn
         8: .line 358
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "event"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 10
         9: .line 359
            aload 0 /* methodsCache */
            iconst_2
            aaload
            areturn
        10: .line 360
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "doFilterEvent"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 12
        11: .line 361
            aload 0 /* methodsCache */
            iconst_2
            aaload
            areturn
        12: .line 363
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // java.lang.String methodName
        end local 0 // java.lang.reflect.Method[] methodsCache
      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 // java.lang.reflect.Method[] methodsCache
        start local 1 // java.lang.Class targetType
        start local 2 // java.lang.String methodName
        start local 3 // java.lang.Class[] parameterTypes
         0: .line 383
            aload 0 /* methodsCache */
            ifnonnull 2
         1: .line 384
            iconst_4
            anewarray java.lang.reflect.Method
            astore 0 /* methodsCache */
         2: .line 387
      StackMap locals:
      StackMap stack:
            aload 1 /* targetType */
            aload 2 /* methodName */
            aload 3 /* parameterTypes */
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            astore 4 /* method */
        start local 4 // java.lang.reflect.Method method
         3: .line 389
            aload 2 /* methodName */
            ldc "init"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         4: .line 390
            aload 0 /* methodsCache */
            iconst_0
            aload 4 /* method */
            aastore
         5: .line 391
            goto 20
      StackMap locals: java.lang.reflect.Method
      StackMap stack:
         6: aload 2 /* methodName */
            ldc "destroy"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 9
         7: .line 392
            aload 0 /* methodsCache */
            iconst_3
            aload 4 /* method */
            aastore
         8: .line 393
            goto 20
      StackMap locals:
      StackMap stack:
         9: aload 2 /* methodName */
            ldc "service"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 12
        10: .line 394
            aload 0 /* methodsCache */
            iconst_1
            aload 4 /* method */
            aastore
        11: .line 395
            goto 20
      StackMap locals:
      StackMap stack:
        12: aload 2 /* methodName */
            ldc "doFilter"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 15
        13: .line 396
            aload 0 /* methodsCache */
            iconst_1
            aload 4 /* method */
            aastore
        14: .line 397
            goto 20
      StackMap locals:
      StackMap stack:
        15: aload 2 /* methodName */
            ldc "event"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 18
        16: .line 398
            aload 0 /* methodsCache */
            iconst_2
            aload 4 /* method */
            aastore
        17: .line 399
            goto 20
      StackMap locals:
      StackMap stack:
        18: aload 2 /* methodName */
            ldc "doFilterEvent"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 20
        19: .line 400
            aload 0 /* methodsCache */
            iconst_2
            aload 4 /* method */
            aastore
        20: .line 403
      StackMap locals:
      StackMap stack:
            getstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
            aload 1 /* targetType */
            aload 0 /* methodsCache */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        21: .line 405
            aload 4 /* method */
            areturn
        end local 4 // java.lang.reflect.Method method
        end local 3 // java.lang.Class[] parameterTypes
        end local 2 // java.lang.String methodName
        end local 1 // java.lang.Class targetType
        end local 0 // java.lang.reflect.Method[] methodsCache
      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 // java.lang.Object cachedObject
         0: .line 415
            getstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
            aload 0 /* cachedObject */
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 416
            return
        end local 0 // java.lang.Object cachedObject
      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: .line 425
            getstatic org.apache.catalina.security.SecurityUtil.packageDefinitionEnabled:Z
            ifeq 2
            getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
            ifeq 2
         1: .line 426
            iconst_1
            ireturn
         2: .line 428
      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