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 75
            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 77
            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 80
            ldc "package.definition"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            ifnonnull 4
         3: .line 81
            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 79
      StackMap locals:
      StackMap stack: int
            putstatic org.apache.catalina.security.SecurityUtil.packageDefinitionEnabled:Z
         6: .line 87
            ldc "org.apache.catalina.security"
            invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
         7: .line 86
            putstatic org.apache.catalina.security.SecurityUtil.sm:Lorg/apache/tomcat/util/res/StringManager;
         8: .line 87
            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 53
            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, jakarta.servlet.Servlet);
    descriptor: (Ljava/lang/String;Ljakarta/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 // jakarta.servlet.Servlet targetObject
         0: .line 101
            aload 0 /* methodName */
            aload 1 /* targetObject */
            aconst_null
            aconst_null
            aconst_null
            invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljakarta/servlet/Servlet;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
         1: .line 102
            return
        end local 1 // jakarta.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  Ljakarta/servlet/Servlet;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
              Name  Flags
      methodName    final
      targetObject  final

  public static void doAsPrivilege(java.lang.String, jakarta.servlet.Servlet, java.lang.Class<?>[], []);
    descriptor: (Ljava/lang/String;Ljakarta/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 // jakarta.servlet.Servlet targetObject
        start local 2 // java.lang.Class[] targetType
        start local 3 // java.lang.Object[] targetArguments
         0: .line 124
            aload 0 /* methodName */
         1: .line 125
            aload 1 /* targetObject */
         2: .line 126
            aload 2 /* targetType */
         3: .line 127
            aload 3 /* targetArguments */
         4: .line 128
            aconst_null
         5: .line 124
            invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljakarta/servlet/Servlet;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
         6: .line 129
            return
        end local 3 // java.lang.Object[] targetArguments
        end local 2 // java.lang.Class[] targetType
        end local 1 // jakarta.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  Ljakarta/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;Ljakarta/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, jakarta.servlet.Servlet, java.lang.Class<?>[], [], java.security.Principal);
    descriptor: (Ljava/lang/String;Ljakarta/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 // jakarta.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 154
            aconst_null
            astore 5 /* method */
        start local 5 // java.lang.reflect.Method method
         1: .line 155
            getstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
            ldc Ljakarta/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 156
            aload 6 /* methodsCache */
            ifnonnull 9
         3: .line 157
            aconst_null
         4: .line 158
            ldc Ljakarta/servlet/Servlet;
         5: .line 159
            aload 0 /* methodName */
         6: .line 160
            aload 2 /* targetParameterTypes */
         7: .line 157
            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 161
            goto 16
         9: .line 162
      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 163
            aload 5 /* method */
            ifnonnull 16
        11: .line 164
            aload 6 /* methodsCache */
        12: .line 165
            ldc Ljakarta/servlet/Servlet;
        13: .line 166
            aload 0 /* methodName */
        14: .line 167
            aload 2 /* targetParameterTypes */
        15: .line 164
            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 171
      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 172
            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 // jakarta.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  Ljakarta/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;Ljakarta/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, jakarta.servlet.Filter);
    descriptor: (Ljava/lang/String;Ljakarta/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 // jakarta.servlet.Filter targetObject
         0: .line 188
            aload 0 /* methodName */
            aload 1 /* targetObject */
            aconst_null
            aconst_null
            invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljakarta/servlet/Filter;[Ljava/lang/Class;[Ljava/lang/Object;)V
         1: .line 189
            return
        end local 1 // jakarta.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  Ljakarta/servlet/Filter;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
              Name  Flags
      methodName    final
      targetObject  final

  public static void doAsPrivilege(java.lang.String, jakarta.servlet.Filter, java.lang.Class<?>[], []);
    descriptor: (Ljava/lang/String;Ljakarta/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 // jakarta.servlet.Filter targetObject
        start local 2 // java.lang.Class[] targetType
        start local 3 // java.lang.Object[] targetArguments
         0: .line 212
            aload 0 /* methodName */
            aload 1 /* targetObject */
            aload 2 /* targetType */
            aload 3 /* targetArguments */
            aconst_null
         1: .line 211
            invokestatic org.apache.catalina.security.SecurityUtil.doAsPrivilege:(Ljava/lang/String;Ljakarta/servlet/Filter;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/security/Principal;)V
         2: .line 213
            return
        end local 3 // java.lang.Object[] targetArguments
        end local 2 // java.lang.Class[] targetType
        end local 1 // jakarta.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  Ljakarta/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;Ljakarta/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, jakarta.servlet.Filter, java.lang.Class<?>[], [], java.security.Principal);
    descriptor: (Ljava/lang/String;Ljakarta/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 // jakarta.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 237
            aconst_null
            astore 5 /* method */
        start local 5 // java.lang.reflect.Method method
         1: .line 238
            getstatic org.apache.catalina.security.SecurityUtil.classCache:Ljava/util/Map;
            ldc Ljakarta/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 239
            aload 6 /* methodsCache */
            ifnonnull 9
         3: .line 240
            aconst_null
         4: .line 241
            ldc Ljakarta/servlet/Filter;
         5: .line 242
            aload 0 /* methodName */
         6: .line 243
            aload 2 /* targetParameterTypes */
         7: .line 240
            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 244
            goto 16
         9: .line 245
      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 246
            aload 5 /* method */
            ifnonnull 16
        11: .line 247
            aload 6 /* methodsCache */
        12: .line 248
            ldc Ljakarta/servlet/Filter;
        13: .line 249
            aload 0 /* methodName */
        14: .line 250
            aload 2 /* targetParameterTypes */
        15: .line 247
            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 254
      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 255
            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 // jakarta.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  Ljakarta/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;Ljakarta/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=4, 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 278
            aconst_null
            astore 4 /* subject */
        start local 4 // javax.security.auth.Subject subject
         1: .line 280
            aload 0 /* method */
            aload 1 /* targetObject */
            aload 2 /* targetArguments */
            invokedynamic run(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/security/PrivilegedExceptionAction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  org/apache/catalina/security/SecurityUtil.lambda$0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Void; (6)
                  ()Ljava/lang/Void;
         2: .line 279
            astore 5 /* pea */
        start local 5 // java.security.PrivilegedExceptionAction pea
         3: .line 286
            aload 2 /* targetArguments */
            ifnull 21
         4: .line 287
            aload 2 /* targetArguments */
            iconst_0
            aaload
            instanceof jakarta.servlet.http.HttpServletRequest
            ifeq 21
         5: .line 289
            aload 2 /* targetArguments */
            iconst_0
            aaload
            checkcast jakarta.servlet.http.HttpServletRequest
         6: .line 288
            astore 6 /* request */
        start local 6 // jakarta.servlet.http.HttpServletRequest request
         7: .line 291
            iconst_0
            istore 7 /* hasSubject */
        start local 7 // boolean hasSubject
         8: .line 292
            aload 6 /* request */
            iconst_0
            invokeinterface jakarta.servlet.http.HttpServletRequest.getSession:(Z)Ljakarta/servlet/http/HttpSession;
            astore 8 /* session */
        start local 8 // jakarta.servlet.http.HttpSession session
         9: .line 293
            aload 8 /* session */
            ifnull 15
        10: .line 295
            aload 8 /* session */
            ldc "javax.security.auth.subject"
            invokeinterface jakarta.servlet.http.HttpSession.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
            checkcast javax.security.auth.Subject
        11: .line 294
            astore 4 /* subject */
        12: .line 296
            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 jakarta.servlet.http.HttpServletRequest int jakarta.servlet.http.HttpSession
      StackMap stack:
        13: iconst_0
      StackMap locals:
      StackMap stack: int
        14: istore 7 /* hasSubject */
        15: .line 299
      StackMap locals:
      StackMap stack:
            aload 4 /* subject */
            ifnonnull 19
        16: .line 300
            new javax.security.auth.Subject
            dup
            invokespecial javax.security.auth.Subject.<init>:()V
            astore 4 /* subject */
        17: .line 302
            aload 3 /* principal */
            ifnull 19
        18: .line 303
            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 307
      StackMap locals:
      StackMap stack:
            aload 8 /* session */
            ifnull 21
            iload 7 /* hasSubject */
            ifne 21
        20: .line 308
            aload 8 /* session */
            ldc "javax.security.auth.subject"
            aload 4 /* subject */
            invokeinterface jakarta.servlet.http.HttpSession.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
        end local 8 // jakarta.servlet.http.HttpSession session
        end local 7 // boolean hasSubject
        end local 6 // jakarta.servlet.http.HttpServletRequest request
        21: .line 312
      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 313
            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 315
            aload 4 /* pe */
            invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
            instanceof java.lang.reflect.InvocationTargetException
            ifeq 28
        25: .line 316
            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 317
            aload 5 /* e */
            invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
        27: .line 318
            goto 29
        end local 5 // java.lang.Throwable e
        28: .line 319
      StackMap locals: java.security.PrivilegedActionException
      StackMap stack:
            aload 4 /* pe */
            astore 5 /* e */
        start local 5 // java.lang.Throwable e
        29: .line 322
      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 323
            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 326
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            instanceof jakarta.servlet.UnavailableException
            ifeq 33
        32: .line 327
            aload 5 /* e */
            checkcast jakarta.servlet.UnavailableException
            athrow
        33: .line 328
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            instanceof jakarta.servlet.ServletException
            ifeq 35
        34: .line 329
            aload 5 /* e */
            checkcast jakarta.servlet.ServletException
            athrow
        35: .line 330
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            instanceof java.io.IOException
            ifeq 37
        36: .line 331
            aload 5 /* e */
            checkcast java.io.IOException
            athrow
        37: .line 332
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            instanceof java.lang.RuntimeException
            ifeq 39
        38: .line 333
            aload 5 /* e */
            checkcast java.lang.RuntimeException
            athrow
        39: .line 335
      StackMap locals:
      StackMap stack:
            new jakarta.servlet.ServletException
            dup
            aload 5 /* e */
            invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
            aload 5 /* e */
            invokespecial jakarta.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 337
      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  Ljakarta/servlet/http/HttpServletRequest;
            8   21     7       hasSubject  Z
            9   21     8          session  Ljakarta/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 348
            aload 1 /* methodName */
            ldc "init"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 349
            aload 0 /* methodsCache */
            iconst_0
            aaload
            areturn
         2: .line 350
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "destroy"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 351
            aload 0 /* methodsCache */
            iconst_3
            aaload
            areturn
         4: .line 352
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "service"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 353
            aload 0 /* methodsCache */
            iconst_1
            aaload
            areturn
         6: .line 354
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "doFilter"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 8
         7: .line 355
            aload 0 /* methodsCache */
            iconst_1
            aaload
            areturn
         8: .line 356
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "event"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 10
         9: .line 357
            aload 0 /* methodsCache */
            iconst_2
            aaload
            areturn
        10: .line 358
      StackMap locals:
      StackMap stack:
            aload 1 /* methodName */
            ldc "doFilterEvent"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 12
        11: .line 359
            aload 0 /* methodsCache */
            iconst_2
            aaload
            areturn
        12: .line 361
      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 381
            aload 0 /* methodsCache */
            ifnonnull 2
         1: .line 382
            iconst_4
            anewarray java.lang.reflect.Method
            astore 0 /* methodsCache */
         2: .line 385
      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 387
            aload 2 /* methodName */
            ldc "init"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         4: .line 388
            aload 0 /* methodsCache */
            iconst_0
            aload 4 /* method */
            aastore
         5: .line 389
            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 390
            aload 0 /* methodsCache */
            iconst_3
            aload 4 /* method */
            aastore
         8: .line 391
            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 392
            aload 0 /* methodsCache */
            iconst_1
            aload 4 /* method */
            aastore
        11: .line 393
            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 394
            aload 0 /* methodsCache */
            iconst_1
            aload 4 /* method */
            aastore
        14: .line 395
            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 396
            aload 0 /* methodsCache */
            iconst_2
            aload 4 /* method */
            aastore
        17: .line 397
            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 398
            aload 0 /* methodsCache */
            iconst_2
            aload 4 /* method */
            aastore
        20: .line 401
      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 403
            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 413
            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 414
            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 423
            getstatic org.apache.catalina.security.SecurityUtil.packageDefinitionEnabled:Z
            ifeq 2
            getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
            ifeq 2
         1: .line 424
            iconst_1
            ireturn
         2: .line 426
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.Void lambda$0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]);
    descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Void;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 281
            aload 0
            aload 1
            aload 2
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 282
            aconst_null
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception
}
SourceFile: "SecurityUtil.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles