public class org.apache.naming.ContextAccessController
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.naming.ContextAccessController
  super_class: java.lang.Object
{
  private static final java.util.Hashtable<java.lang.Object, java.lang.Object> readOnlyContexts;
    descriptor: Ljava/util/Hashtable;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Hashtable<Ljava/lang/Object;Ljava/lang/Object;>;

  private static final java.util.Hashtable<java.lang.Object, java.lang.Object> securityTokens;
    descriptor: Ljava/util/Hashtable;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Hashtable<Ljava/lang/Object;Ljava/lang/Object;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 33
            new java.util.Hashtable
            dup
            invokespecial java.util.Hashtable.<init>:()V
            putstatic org.apache.naming.ContextAccessController.readOnlyContexts:Ljava/util/Hashtable;
         1: .line 39
            new java.util.Hashtable
            dup
            invokespecial java.util.Hashtable.<init>:()V
            putstatic org.apache.naming.ContextAccessController.securityTokens:Ljava/util/Hashtable;
            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.naming.ContextAccessController this
         0: .line 26
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.apache.naming.ContextAccessController this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/naming/ContextAccessController;

  public static void setSecurityToken(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // java.lang.Object name
        start local 1 // java.lang.Object token
         0: .line 51
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 2 /* sm */
        start local 2 // java.lang.SecurityManager sm
         1: .line 52
            aload 2 /* sm */
            ifnull 7
         2: .line 53
            aload 2 /* sm */
            new java.lang.RuntimePermission
            dup
         3: .line 54
            new java.lang.StringBuilder
            dup
            ldc Lorg/apache/naming/ContextAccessController;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         4: .line 55
            ldc ".setSecurityToken"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         5: .line 54
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
         6: .line 53
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         7: .line 57
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            getstatic org.apache.naming.ContextAccessController.securityTokens:Ljava/util/Hashtable;
            aload 0 /* name */
            invokevirtual java.util.Hashtable.containsKey:(Ljava/lang/Object;)Z
            ifne 9
            aload 1 /* token */
            ifnull 9
         8: .line 58
            getstatic org.apache.naming.ContextAccessController.securityTokens:Ljava/util/Hashtable;
            aload 0 /* name */
            aload 1 /* token */
            invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         9: .line 60
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.SecurityManager sm
        end local 1 // java.lang.Object token
        end local 0 // java.lang.Object name
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   name  Ljava/lang/Object;
            0   10     1  token  Ljava/lang/Object;
            1   10     2     sm  Ljava/lang/SecurityManager;
    MethodParameters:
       Name  Flags
      name   
      token  

  public static void unsetSecurityToken(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Object name
        start local 1 // java.lang.Object token
         0: .line 70
            aload 0 /* name */
            aload 1 /* token */
            invokestatic org.apache.naming.ContextAccessController.checkSecurityToken:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 2
         1: .line 71
            getstatic org.apache.naming.ContextAccessController.securityTokens:Ljava/util/Hashtable;
            aload 0 /* name */
            invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 73
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Object token
        end local 0 // java.lang.Object name
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   name  Ljava/lang/Object;
            0    3     1  token  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      name   
      token  

  public static boolean checkSecurityToken(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // java.lang.Object name
        start local 1 // java.lang.Object token
         0: .line 88
            getstatic org.apache.naming.ContextAccessController.securityTokens:Ljava/util/Hashtable;
            aload 0 /* name */
            invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 2 /* refToken */
        start local 2 // java.lang.Object refToken
         1: .line 89
            aload 2 /* refToken */
            ifnull 2
            aload 2 /* refToken */
            aload 1 /* token */
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifne 2
            iconst_0
            ireturn
      StackMap locals: java.lang.Object
      StackMap stack:
         2: iconst_1
            ireturn
        end local 2 // java.lang.Object refToken
        end local 1 // java.lang.Object token
        end local 0 // java.lang.Object name
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      name  Ljava/lang/Object;
            0    3     1     token  Ljava/lang/Object;
            1    3     2  refToken  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      name   
      token  

  public static void setWritable(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Object name
        start local 1 // java.lang.Object token
         0: .line 100
            aload 0 /* name */
            aload 1 /* token */
            invokestatic org.apache.naming.ContextAccessController.checkSecurityToken:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 2
         1: .line 101
            getstatic org.apache.naming.ContextAccessController.readOnlyContexts:Ljava/util/Hashtable;
            aload 0 /* name */
            invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 102
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Object token
        end local 0 // java.lang.Object name
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   name  Ljava/lang/Object;
            0    3     1  token  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      name   
      token  

  public static void setReadOnly(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Object name
         0: .line 111
            getstatic org.apache.naming.ContextAccessController.readOnlyContexts:Ljava/util/Hashtable;
            aload 0 /* name */
            aload 0 /* name */
            invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 112
            return
        end local 0 // java.lang.Object name
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  name  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      name  

  public static boolean isWritable(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object name
         0: .line 123
            getstatic org.apache.naming.ContextAccessController.readOnlyContexts:Ljava/util/Hashtable;
            aload 0 /* name */
            invokevirtual java.util.Hashtable.containsKey:(Ljava/lang/Object;)Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // java.lang.Object name
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  name  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      name  
}
SourceFile: "ContextAccessController.java"