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.concurrent.ConcurrentHashMap<java.lang.String, java.security.Permission> perms;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;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.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/concurrent/ConcurrentHashMap;
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=7, 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/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.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:
aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/concurrent/ConcurrentHashMap;
ldc "*"
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.security.auth.kerberos.ServicePermission
astore 4
start local 4 13: aload 4
ifnull 16
14: aload 4
invokevirtual javax.security.auth.kerberos.ServicePermission.getMask:()I
iload 3
iand
iload 3
if_icmpne 16
15: iconst_1
ireturn
16: StackMap locals: javax.security.auth.kerberos.ServicePermission
StackMap stack:
aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 2
invokevirtual javax.security.auth.kerberos.ServicePermission.getName:()Ljava/lang/String;
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.security.auth.kerberos.ServicePermission
astore 4
17: aload 4
ifnull 20
18: aload 4
invokevirtual javax.security.auth.kerberos.ServicePermission.getMask:()I
iload 3
iand
iload 3
if_icmpne 20
19: iconst_1
ireturn
20: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
0 21 1 permission Ljava/security/Permission;
3 21 2 np Ljavax/security/auth/kerberos/ServicePermission;
4 21 3 desired I
7 10 4 p Ljava/security/Permission;
8 10 6 sp Ljavax/security/auth/kerberos/ServicePermission;
13 21 4 x Ljavax/security/auth/kerberos/ServicePermission;
MethodParameters:
Name Flags
permission
public void add(java.security.Permission);
descriptor: (Ljava/security/Permission;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, 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 1
checkcast javax.security.auth.kerberos.ServicePermission
astore 2
start local 2 7: aload 2
invokevirtual javax.security.auth.kerberos.ServicePermission.getName:()Ljava/lang/String;
astore 3
start local 3 8: aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 3
aload 2
9: new javax.security.auth.kerberos.KrbServicePermissionCollection$1
dup
aload 0
aload 3
invokespecial javax.security.auth.kerberos.KrbServicePermissionCollection$1.<init>:(Ljavax/security/auth/kerberos/KrbServicePermissionCollection;Ljava/lang/String;)V
10: invokevirtual java.util.concurrent.ConcurrentHashMap.merge:(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
pop
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
0 12 1 permission Ljava/security/Permission;
7 12 2 sp Ljavax/security/auth/kerberos/ServicePermission;
8 12 3 princName Ljava/lang/String;
MethodParameters:
Name Flags
permission
public java.util.Enumeration<java.security.Permission> elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
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/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.values:()Ljava/util/Collection;
invokespecial java.util.Vector.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 1: aload 1
invokevirtual java.io.ObjectOutputStream.putFields:()Ljava/io/ObjectOutputStream$PutField;
astore 3
start local 3 2: aload 3
ldc "permissions"
aload 2
invokevirtual java.io.ObjectOutputStream$PutField.put:(Ljava/lang/String;Ljava/lang/Object;)V
3: aload 1
invokevirtual java.io.ObjectOutputStream.writeFields:()V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
0 5 1 out Ljava/io/ObjectOutputStream;
1 5 2 permissions Ljava/util/Vector<Ljava/security/Permission;>;
2 5 3 pfields Ljava/io/ObjectOutputStream$PutField;
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=6, 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.concurrent.ConcurrentHashMap
dup
aload 3
invokevirtual java.util.Vector.size:()I
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/concurrent/ConcurrentHashMap;
4: aload 3
invokevirtual java.util.Vector.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: javax.security.auth.kerberos.KrbServicePermissionCollection java.io.ObjectInputStream java.io.ObjectInputStream$GetField java.util.Vector top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Permission
astore 4
start local 4 6: aload 0
getfield javax.security.auth.kerberos.KrbServicePermissionCollection.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 4
invokevirtual java.security.Permission.getName:()Ljava/lang/String;
aload 4
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/security/auth/kerberos/KrbServicePermissionCollection;
0 9 1 in Ljava/io/ObjectInputStream;
1 9 2 gfields Ljava/io/ObjectInputStream$GetField;
3 9 3 permissions Ljava/util/Vector<Ljava/security/Permission;>;
6 7 4 perm Ljava/security/Permission;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
}
SourceFile: "ServicePermission.java"
NestMembers:
javax.security.auth.kerberos.KrbServicePermissionCollection$1
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public abstract PutField = java.io.ObjectOutputStream$PutField of java.io.ObjectOutputStream
javax.security.auth.kerberos.KrbServicePermissionCollection$1