final class javax.security.auth.kerberos.KrbServicePermissionCollection extends java.security.PermissionCollection implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.security.auth.kerberos.KrbServicePermissionCollection
super_class: java.security.PermissionCollection
{
private transient java.util.List<java.security.Permission> perms;
descriptor: Ljava/util/List;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/List<Ljava/security/Permission;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4118834211490102011
private static final java.io.ObjectStreamField[] serialPersistentFields;
descriptor: [Ljava/io/ObjectStreamField;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: iconst_1
anewarray java.io.ObjectStreamField
dup
iconst_0
1: new java.io.ObjectStreamField
dup
ldc "permissions"
ldc Ljava/util/Vector;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
2: putstatic javax.security.auth.kerberos.KrbServicePermissionCollection.serialPersistentFields:[Ljava/io/ObjectStreamField;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.PermissionCollection.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
public boolean implies(java.security.Permission);
descriptor: (Ljava/security/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=10, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.security.auth.kerberos.ServicePermission
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.security.auth.kerberos.ServicePermission
astore 2
start local 2 3: aload 2
invokevirtual javax.security.auth.kerberos.ServicePermission.getMask:()I
istore 3
start local 3 4: iload 3
ifne 12
5: aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: javax.security.auth.kerberos.KrbServicePermissionCollection java.security.Permission javax.security.auth.kerberos.ServicePermission int top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Permission
astore 4
start local 4 7: aload 4
checkcast javax.security.auth.kerberos.ServicePermission
astore 6
start local 6 8: aload 6
aload 2
invokevirtual javax.security.auth.kerberos.ServicePermission.impliesIgnoreMask:(Ljavax/security/auth/kerberos/ServicePermission;)Z
ifeq 10
9: iconst_1
ireturn
end local 6 end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: iconst_0
ireturn
12: StackMap locals: javax.security.auth.kerberos.KrbServicePermissionCollection java.security.Permission javax.security.auth.kerberos.ServicePermission int
StackMap stack:
iconst_0
istore 4
start local 4 13: iload 3
istore 5
start local 5 14: aload 0
dup
astore 6
monitorenter
15: aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 7
start local 7 16: iconst_0
istore 8
start local 8 17: goto 26
18: StackMap locals: javax.security.auth.kerberos.KrbServicePermissionCollection java.security.Permission javax.security.auth.kerberos.ServicePermission int int int javax.security.auth.kerberos.KrbServicePermissionCollection int int
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.security.auth.kerberos.ServicePermission
astore 9
start local 9 19: iload 5
aload 9
invokevirtual javax.security.auth.kerberos.ServicePermission.getMask:()I
iand
ifeq 25
aload 9
aload 2
invokevirtual javax.security.auth.kerberos.ServicePermission.impliesIgnoreMask:(Ljavax/security/auth/kerberos/ServicePermission;)Z
ifeq 25
20: iload 4
aload 9
invokevirtual javax.security.auth.kerberos.ServicePermission.getMask:()I
ior
istore 4
21: iload 4
iload 3
iand
iload 3
if_icmpne 24
22: aload 6
monitorexit
23: iconst_1
ireturn
24: StackMap locals: javax.security.auth.kerberos.ServicePermission
StackMap stack:
iload 3
iload 4
ixor
istore 5
end local 9 25: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
26: iload 8
iload 7
if_icmplt 18
end local 8 end local 7 27: aload 6
monitorexit
28: goto 31
StackMap locals: javax.security.auth.kerberos.KrbServicePermissionCollection java.security.Permission javax.security.auth.kerberos.ServicePermission int int int javax.security.auth.kerberos.KrbServicePermissionCollection
StackMap stack: java.lang.Throwable
29: aload 6
monitorexit
30: athrow
31: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 32 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
0 32 1 permission Ljava/security/Permission;
3 32 2 np Ljavax/security/auth/kerberos/ServicePermission;
4 32 3 desired I
7 10 4 p Ljava/security/Permission;
8 10 6 sp Ljavax/security/auth/kerberos/ServicePermission;
13 32 4 effective I
14 32 5 needed I
16 27 7 len I
17 27 8 i I
19 25 9 x Ljavax/security/auth/kerberos/ServicePermission;
Exception table:
from to target type
15 23 29 any
24 28 29 any
29 30 29 any
MethodParameters:
Name Flags
permission
public void add(java.security.Permission);
descriptor: (Ljava/security/Permission;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.security.auth.kerberos.ServicePermission
ifne 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid permission: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.security.auth.kerberos.KrbServicePermissionCollection.isReadOnly:()Z
ifeq 6
5: new java.lang.SecurityException
dup
ldc "attempt to add a Permission to a readonly PermissionCollection"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
7: aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
iconst_0
aload 1
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
8: aload 2
monitorexit
9: goto 12
StackMap locals: javax.security.auth.kerberos.KrbServicePermissionCollection java.security.Permission javax.security.auth.kerberos.KrbServicePermissionCollection
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
0 13 1 permission Ljava/security/Permission;
Exception table:
from to target type
7 9 10 any
10 11 10 any
MethodParameters:
Name Flags
permission
public java.util.Enumeration<java.security.Permission> elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
aload 1
monitorexit
2: areturn
3: StackMap locals: javax.security.auth.kerberos.KrbServicePermissionCollection javax.security.auth.kerberos.KrbServicePermissionCollection
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Ljava/util/Enumeration<Ljava/security/Permission;>;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.util.Vector
dup
aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.Vector.<init>:(I)V
astore 2
start local 2 1: aload 0
dup
astore 3
monitorenter
2: aload 2
aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
invokevirtual java.util.Vector.addAll:(Ljava/util/Collection;)Z
pop
3: aload 3
monitorexit
4: goto 7
StackMap locals: javax.security.auth.kerberos.KrbServicePermissionCollection java.io.ObjectOutputStream java.util.Vector javax.security.auth.kerberos.KrbServicePermissionCollection
StackMap stack: java.lang.Throwable
5: aload 3
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ObjectOutputStream.putFields:()Ljava/io/ObjectOutputStream$PutField;
astore 3
start local 3 8: aload 3
ldc "permissions"
aload 2
invokevirtual java.io.ObjectOutputStream$PutField.put:(Ljava/lang/String;Ljava/lang/Object;)V
9: aload 1
invokevirtual java.io.ObjectOutputStream.writeFields:()V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
0 11 1 out Ljava/io/ObjectOutputStream;
1 11 2 permissions Ljava/util/Vector<Ljava/security/Permission;>;
8 11 3 pfields Ljava/io/ObjectOutputStream$PutField;
Exception table:
from to target type
2 4 5 any
5 6 5 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 1: aload 2
ldc "permissions"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Vector
2: astore 3
start local 3 3: aload 0
new java.util.ArrayList
dup
aload 3
invokevirtual java.util.Vector.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
putfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
4: aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/List;
aload 3
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
0 6 1 in Ljava/io/ObjectInputStream;
1 6 2 gfields Ljava/io/ObjectInputStream$GetField;
3 6 3 permissions Ljava/util/Vector<Ljava/security/Permission;>;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
}
SourceFile: "ServicePermission.java"
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public abstract PutField = java.io.ObjectOutputStream$PutField of java.io.ObjectOutputStream