public final class javax.security.auth.Subject implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.security.auth.Subject
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8308522755600156056
java.util.Set<java.security.Principal> principals;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/security/Principal;>;
transient java.util.Set<java.lang.Object> pubCredentials;
descriptor: Ljava/util/Set;
flags: (0x0080) ACC_TRANSIENT
Signature: Ljava/util/Set<Ljava/lang/Object;>;
transient java.util.Set<java.lang.Object> privCredentials;
descriptor: Ljava/util/Set;
flags: (0x0080) ACC_TRANSIENT
Signature: Ljava/util/Set<Ljava/lang/Object;>;
private volatile boolean readOnly;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final int PRINCIPAL_SET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int PUB_CREDENTIAL_SET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int PRIV_CREDENTIAL_SET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final java.security.ProtectionDomain[] NULL_PD_ARRAY;
descriptor: [Ljava/security/ProtectionDomain;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.security.ProtectionDomain
1: putstatic javax.security.auth.Subject.NULL_PD_ARRAY:[Ljava/security/ProtectionDomain;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.security.auth.Subject.readOnly:Z
2: aload 0
3: new javax.security.auth.Subject$SecureSet
dup
aload 0
iconst_1
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;I)V
4: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.principals:Ljava/util/Set;
5: aload 0
6: new javax.security.auth.Subject$SecureSet
dup
aload 0
iconst_2
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;I)V
7: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
8: aload 0
9: new javax.security.auth.Subject$SecureSet
dup
aload 0
iconst_3
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;I)V
10: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/security/auth/Subject;
public void <init>(boolean, java.util.Set<? extends java.security.Principal>, java.util.Set<?>, java.util.Set<?>);
descriptor: (ZLjava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.security.auth.Subject.readOnly:Z
2: aload 2
ifnull 5
3: aload 3
ifnull 5
4: aload 4
ifnonnull 8
5: StackMap locals: javax.security.auth.Subject int java.util.Set java.util.Set java.util.Set
StackMap stack:
new java.lang.NullPointerException
dup
6: ldc "invalid.null.input.s."
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
7: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
new javax.security.auth.Subject$SecureSet
dup
9: aload 0
iconst_1
aload 2
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;ILjava/util/Set;)V
10: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.principals:Ljava/util/Set;
11: aload 0
new javax.security.auth.Subject$SecureSet
dup
12: aload 0
iconst_2
aload 3
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;ILjava/util/Set;)V
13: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
14: aload 0
new javax.security.auth.Subject$SecureSet
dup
15: aload 0
iconst_3
aload 4
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;ILjava/util/Set;)V
16: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
17: aload 0
iload 1
putfield javax.security.auth.Subject.readOnly:Z
18: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/security/auth/Subject;
0 19 1 readOnly Z
0 19 2 principals Ljava/util/Set<+Ljava/security/Principal;>;
0 19 3 pubCredentials Ljava/util/Set<*>;
0 19 4 privCredentials Ljava/util/Set<*>;
Signature: (ZLjava/util/Set<+Ljava/security/Principal;>;Ljava/util/Set<*>;Ljava/util/Set<*>;)V
MethodParameters:
Name Flags
readOnly
principals
pubCredentials
privCredentials
public void setReadOnly();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
new javax.security.auth.AuthPermission
dup
ldc "setReadOnly"
invokespecial javax.security.auth.AuthPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
iconst_1
putfield javax.security.auth.Subject.readOnly:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/Subject;
1 5 1 sm Ljava/lang/SecurityManager;
public boolean isReadOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.Subject.readOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/Subject;
public static javax.security.auth.Subject getSubject(java.security.AccessControlContext);
descriptor: (Ljava/security/AccessControlContext;)Ljavax/security/auth/Subject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
new javax.security.auth.AuthPermission
dup
ldc "getSubject"
invokespecial javax.security.auth.AuthPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
ifnonnull 7
4: new java.lang.NullPointerException
dup
5: ldc "invalid.null.AccessControlContext.provided"
6: invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
new javax.security.auth.Subject$1
dup
aload 0
invokespecial javax.security.auth.Subject$1.<init>:(Ljava/security/AccessControlContext;)V
8: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast javax.security.auth.Subject
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 acc Ljava/security/AccessControlContext;
1 9 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
acc final
public static <T> T doAs(javax.security.auth.Subject, java.security.PrivilegedAction<T>);
descriptor: (Ljavax/security/auth/Subject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
getstatic sun.security.util.SecurityConstants.DO_AS_PERMISSION:Ljavax/security/auth/AuthPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 1
ifnonnull 7
4: new java.lang.NullPointerException
dup
5: ldc "invalid.null.action.provided"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
6: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 3
start local 3 8: aload 1
9: aload 0
aload 3
invokestatic javax.security.auth.Subject.createContext:(Ljavax/security/auth/Subject;Ljava/security/AccessControlContext;)Ljava/security/AccessControlContext;
10: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 subject Ljavax/security/auth/Subject;
0 11 1 action Ljava/security/PrivilegedAction<TT;>;
1 11 2 sm Ljava/lang/SecurityManager;
8 11 3 currentAcc Ljava/security/AccessControlContext;
Signature: <T:Ljava/lang/Object;>(Ljavax/security/auth/Subject;Ljava/security/PrivilegedAction<TT;>;)TT;
MethodParameters:
Name Flags
subject final
action final
public static <T> T doAs(javax.security.auth.Subject, java.security.PrivilegedExceptionAction<T>);
descriptor: (Ljavax/security/auth/Subject;Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
getstatic sun.security.util.SecurityConstants.DO_AS_PERMISSION:Ljavax/security/auth/AuthPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 1
ifnonnull 7
4: new java.lang.NullPointerException
dup
5: ldc "invalid.null.action.provided"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
6: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 3
start local 3 8: aload 1
9: aload 0
aload 3
invokestatic javax.security.auth.Subject.createContext:(Ljavax/security/auth/Subject;Ljava/security/AccessControlContext;)Ljava/security/AccessControlContext;
10: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 subject Ljavax/security/auth/Subject;
0 11 1 action Ljava/security/PrivilegedExceptionAction<TT;>;
1 11 2 sm Ljava/lang/SecurityManager;
8 11 3 currentAcc Ljava/security/AccessControlContext;
Exceptions:
throws java.security.PrivilegedActionException
Signature: <T:Ljava/lang/Object;>(Ljavax/security/auth/Subject;Ljava/security/PrivilegedExceptionAction<TT;>;)TT;
MethodParameters:
Name Flags
subject final
action final
public static <T> T doAsPrivileged(javax.security.auth.Subject, java.security.PrivilegedAction<T>, java.security.AccessControlContext);
descriptor: (Ljavax/security/auth/Subject;Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
getstatic sun.security.util.SecurityConstants.DO_AS_PRIVILEGED_PERMISSION:Ljavax/security/auth/AuthPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 1
ifnonnull 7
4: new java.lang.NullPointerException
dup
5: ldc "invalid.null.action.provided"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
6: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
ifnonnull 9
8: new java.security.AccessControlContext
dup
getstatic javax.security.auth.Subject.NULL_PD_ARRAY:[Ljava/security/ProtectionDomain;
invokespecial java.security.AccessControlContext.<init>:([Ljava/security/ProtectionDomain;)V
goto 10
9: StackMap locals:
StackMap stack:
aload 2
10: StackMap locals:
StackMap stack: java.security.AccessControlContext
astore 4
start local 4 11: aload 1
12: aload 0
aload 4
invokestatic javax.security.auth.Subject.createContext:(Ljavax/security/auth/Subject;Ljava/security/AccessControlContext;)Ljava/security/AccessControlContext;
13: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 subject Ljavax/security/auth/Subject;
0 14 1 action Ljava/security/PrivilegedAction<TT;>;
0 14 2 acc Ljava/security/AccessControlContext;
1 14 3 sm Ljava/lang/SecurityManager;
11 14 4 callerAcc Ljava/security/AccessControlContext;
Signature: <T:Ljava/lang/Object;>(Ljavax/security/auth/Subject;Ljava/security/PrivilegedAction<TT;>;Ljava/security/AccessControlContext;)TT;
MethodParameters:
Name Flags
subject final
action final
acc final
public static <T> T doAsPrivileged(javax.security.auth.Subject, java.security.PrivilegedExceptionAction<T>, java.security.AccessControlContext);
descriptor: (Ljavax/security/auth/Subject;Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
getstatic sun.security.util.SecurityConstants.DO_AS_PRIVILEGED_PERMISSION:Ljavax/security/auth/AuthPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 1
ifnonnull 7
4: new java.lang.NullPointerException
dup
5: ldc "invalid.null.action.provided"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
6: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
ifnonnull 9
8: new java.security.AccessControlContext
dup
getstatic javax.security.auth.Subject.NULL_PD_ARRAY:[Ljava/security/ProtectionDomain;
invokespecial java.security.AccessControlContext.<init>:([Ljava/security/ProtectionDomain;)V
goto 10
9: StackMap locals:
StackMap stack:
aload 2
10: StackMap locals:
StackMap stack: java.security.AccessControlContext
astore 4
start local 4 11: aload 1
12: aload 0
aload 4
invokestatic javax.security.auth.Subject.createContext:(Ljavax/security/auth/Subject;Ljava/security/AccessControlContext;)Ljava/security/AccessControlContext;
13: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 subject Ljavax/security/auth/Subject;
0 14 1 action Ljava/security/PrivilegedExceptionAction<TT;>;
0 14 2 acc Ljava/security/AccessControlContext;
1 14 3 sm Ljava/lang/SecurityManager;
11 14 4 callerAcc Ljava/security/AccessControlContext;
Exceptions:
throws java.security.PrivilegedActionException
Signature: <T:Ljava/lang/Object;>(Ljavax/security/auth/Subject;Ljava/security/PrivilegedExceptionAction<TT;>;Ljava/security/AccessControlContext;)TT;
MethodParameters:
Name Flags
subject final
action final
acc final
private static java.security.AccessControlContext createContext(javax.security.auth.Subject, java.security.AccessControlContext);
descriptor: (Ljavax/security/auth/Subject;Ljava/security/AccessControlContext;)Ljava/security/AccessControlContext;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new javax.security.auth.Subject$2
dup
aload 0
aload 1
invokespecial javax.security.auth.Subject$2.<init>:(Ljavax/security/auth/Subject;Ljava/security/AccessControlContext;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.security.AccessControlContext
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 subject Ljavax/security/auth/Subject;
0 2 1 acc Ljava/security/AccessControlContext;
MethodParameters:
Name Flags
subject final
acc final
public java.util.Set<java.security.Principal> getPrincipals();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/Subject;
Signature: ()Ljava/util/Set<Ljava/security/Principal;>;
public <T extends java.security.Principal> java.util.Set<T> getPrincipals(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "invalid.null.Class.provided"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new javax.security.auth.Subject$ClassSet
dup
aload 0
iconst_1
aload 1
invokespecial javax.security.auth.Subject$ClassSet.<init>:(Ljavax/security/auth/Subject;ILjava/lang/Class;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/Subject;
0 5 1 c Ljava/lang/Class<TT;>;
Signature: <T::Ljava/security/Principal;>(Ljava/lang/Class<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
c
public java.util.Set<java.lang.Object> getPublicCredentials();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/Subject;
Signature: ()Ljava/util/Set<Ljava/lang/Object;>;
public java.util.Set<java.lang.Object> getPrivateCredentials();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/Subject;
Signature: ()Ljava/util/Set<Ljava/lang/Object;>;
public <T> java.util.Set<T> getPublicCredentials(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "invalid.null.Class.provided"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new javax.security.auth.Subject$ClassSet
dup
aload 0
iconst_2
aload 1
invokespecial javax.security.auth.Subject$ClassSet.<init>:(Ljavax/security/auth/Subject;ILjava/lang/Class;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/Subject;
0 5 1 c Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
c
public <T> java.util.Set<T> getPrivateCredentials(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "invalid.null.Class.provided"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new javax.security.auth.Subject$ClassSet
dup
aload 0
iconst_3
aload 1
invokespecial javax.security.auth.Subject$ClassSet.<init>:(Ljavax/security/auth/Subject;ILjava/lang/Class;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/security/auth/Subject;
0 5 1 c Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
c
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof javax.security.auth.Subject
ifeq 31
5: aload 1
checkcast javax.security.auth.Subject
astore 2
start local 2 6: aload 2
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
dup
astore 4
monitorenter
7: new java.util.HashSet
dup
aload 2
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 8: aload 4
monitorexit
9: goto 12
end local 3 StackMap locals: javax.security.auth.Subject java.lang.Object javax.security.auth.Subject top java.util.Set
StackMap stack: java.lang.Throwable
10: aload 4
monitorexit
11: athrow
start local 3 12: StackMap locals: javax.security.auth.Subject java.lang.Object javax.security.auth.Subject java.util.Set
StackMap stack:
aload 0
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 2
getfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
dup
astore 5
monitorenter
15: new java.util.HashSet
dup
aload 2
getfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 16: aload 5
monitorexit
17: goto 20
end local 4 StackMap locals: javax.security.auth.Subject java.lang.Object javax.security.auth.Subject java.util.Set top java.util.Set
StackMap stack: java.lang.Throwable
18: aload 5
monitorexit
19: athrow
start local 4 20: StackMap locals: javax.security.auth.Subject java.lang.Object javax.security.auth.Subject java.util.Set java.util.Set
StackMap stack:
aload 0
getfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 22
21: iconst_0
ireturn
22: StackMap locals:
StackMap stack:
aload 2
getfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
dup
astore 6
monitorenter
23: new java.util.HashSet
dup
aload 2
getfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 5
start local 5 24: aload 6
monitorexit
25: goto 28
end local 5 StackMap locals: javax.security.auth.Subject java.lang.Object javax.security.auth.Subject java.util.Set java.util.Set top java.util.Set
StackMap stack: java.lang.Throwable
26: aload 6
monitorexit
27: athrow
start local 5 28: StackMap locals: javax.security.auth.Subject java.lang.Object javax.security.auth.Subject java.util.Set java.util.Set java.util.Set
StackMap stack:
aload 0
getfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
aload 5
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 30
29: iconst_0
ireturn
30: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 31: StackMap locals: javax.security.auth.Subject java.lang.Object
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljavax/security/auth/Subject;
0 32 1 o Ljava/lang/Object;
6 31 2 that Ljavax/security/auth/Subject;
8 10 3 thatPrincipals Ljava/util/Set<Ljava/security/Principal;>;
12 31 3 thatPrincipals Ljava/util/Set<Ljava/security/Principal;>;
16 18 4 thatPubCredentials Ljava/util/Set<Ljava/lang/Object;>;
20 31 4 thatPubCredentials Ljava/util/Set<Ljava/lang/Object;>;
24 26 5 thatPrivCredentials Ljava/util/Set<Ljava/lang/Object;>;
28 31 5 thatPrivCredentials Ljava/util/Set<Ljava/lang/Object;>;
Exception table:
from to target type
7 9 10 any
10 11 10 any
15 17 18 any
18 19 18 any
23 25 26 any
26 27 26 any
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual javax.security.auth.Subject.toString:(Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/Subject;
java.lang.String toString(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: ldc "Subject."
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: ldc ""
astore 3
start local 3 2: aload 0
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
dup
astore 4
monitorenter
3: aload 0
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
start local 5 4: goto 9
5: StackMap locals: javax.security.auth.Subject int java.lang.String java.lang.String java.util.Set java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Principal
astore 6
start local 6 6: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".Principal."
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 6
invokeinterface java.security.Principal.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "NEWLINE"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 6 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 5 10: aload 4
monitorexit
11: goto 14
StackMap locals: javax.security.auth.Subject int java.lang.String java.lang.String java.util.Set
StackMap stack: java.lang.Throwable
12: aload 4
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
dup
astore 4
monitorenter
15: aload 0
getfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
start local 5 16: goto 22
17: StackMap locals: java.util.Set java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 6
start local 6 18: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
19: ldc ".Public.Credential."
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: aload 6
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "NEWLINE"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 6 22: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 5 23: aload 4
monitorexit
24: goto 27
StackMap locals: javax.security.auth.Subject int java.lang.String java.lang.String java.util.Set
StackMap stack: java.lang.Throwable
25: aload 4
monitorexit
26: athrow
27: StackMap locals:
StackMap stack:
iload 1
ifeq 49
28: aload 0
getfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
dup
astore 4
monitorenter
29: aload 0
getfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
start local 5 30: goto 44
31: StackMap locals: java.util.Set java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 6
start local 6 32: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
33: ldc ".Private.Credential."
34: invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
35: aload 6
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: ldc "NEWLINE"
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
37: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 6 38: goto 44
StackMap locals:
StackMap stack: java.lang.SecurityException
39: pop
40: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
41: ldc ".Private.Credential.inaccessible."
42: invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
43: goto 45
44: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
end local 5 45: StackMap locals:
StackMap stack:
aload 4
monitorexit
46: goto 49
StackMap locals:
StackMap stack: java.lang.Throwable
47: aload 4
monitorexit
48: athrow
49: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Ljavax/security/auth/Subject;
0 50 1 includePrivateCredentials Z
1 50 2 s Ljava/lang/String;
2 50 3 suffix Ljava/lang/String;
4 10 5 pI Ljava/util/Iterator<Ljava/security/Principal;>;
6 9 6 p Ljava/security/Principal;
16 23 5 pI Ljava/util/Iterator<Ljava/lang/Object;>;
18 22 6 o Ljava/lang/Object;
30 45 5 pI Ljava/util/Iterator<Ljava/lang/Object;>;
32 38 6 o Ljava/lang/Object;
Exception table:
from to target type
3 11 12 any
12 13 12 any
15 24 25 any
25 26 25 any
31 38 39 Class java.lang.SecurityException
29 46 47 any
47 48 47 any
MethodParameters:
Name Flags
includePrivateCredentials
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
dup
astore 2
monitorenter
2: aload 0
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: goto 6
4: StackMap locals: int java.util.Set java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Principal
astore 4
start local 4 5: iload 1
aload 4
invokeinterface java.security.Principal.hashCode:()I
ixor
istore 1
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 7: aload 2
monitorexit
8: goto 11
StackMap locals: javax.security.auth.Subject int java.util.Set
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
dup
astore 2
monitorenter
12: aload 0
getfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 13: goto 15
14: StackMap locals: java.util.Set java.util.Iterator
StackMap stack:
iload 1
aload 0
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual javax.security.auth.Subject.getCredHashCode:(Ljava/lang/Object;)I
ixor
istore 1
15: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 3 16: aload 2
monitorexit
17: goto 20
StackMap locals: javax.security.auth.Subject int java.util.Set
StackMap stack: java.lang.Throwable
18: aload 2
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/security/auth/Subject;
1 21 1 hashCode I
3 7 3 pIterator Ljava/util/Iterator<Ljava/security/Principal;>;
5 6 4 p Ljava/security/Principal;
13 16 3 pubCIterator Ljava/util/Iterator<Ljava/lang/Object;>;
Exception table:
from to target type
2 8 9 any
9 10 9 any
12 17 18 any
18 19 18 any
private int getCredHashCode(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.hashCode:()I
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.IllegalStateException
pop
3: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.toString:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/security/auth/Subject;
0 4 1 o Ljava/lang/Object;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
o
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
dup
astore 2
monitorenter
1: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
2: aload 2
monitorexit
3: goto 6
StackMap locals: javax.security.auth.Subject java.io.ObjectOutputStream java.util.Set
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/security/auth/Subject;
0 7 1 oos Ljava/io/ObjectOutputStream;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oos
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
new javax.security.auth.Subject$SecureSet
dup
2: aload 0
iconst_1
aload 0
getfield javax.security.auth.Subject.principals:Ljava/util/Set;
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;ILjava/util/Set;)V
3: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.principals:Ljava/util/Set;
4: aload 0
5: new javax.security.auth.Subject$SecureSet
dup
aload 0
iconst_2
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;I)V
6: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.pubCredentials:Ljava/util/Set;
7: aload 0
8: new javax.security.auth.Subject$SecureSet
dup
aload 0
iconst_3
invokespecial javax.security.auth.Subject$SecureSet.<init>:(Ljavax/security/auth/Subject;I)V
9: invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield javax.security.auth.Subject.privCredentials:Ljava/util/Set;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/security/auth/Subject;
0 11 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "Subject.java"
NestMembers:
javax.security.auth.Subject$1 javax.security.auth.Subject$2 javax.security.auth.Subject$ClassSet javax.security.auth.Subject$ClassSet$1 javax.security.auth.Subject$SecureSet javax.security.auth.Subject$SecureSet$1 javax.security.auth.Subject$SecureSet$2 javax.security.auth.Subject$SecureSet$3 javax.security.auth.Subject$SecureSet$4 javax.security.auth.Subject$SecureSet$5 javax.security.auth.Subject$SecureSet$6
InnerClasses:
javax.security.auth.Subject$1
javax.security.auth.Subject$2
private ClassSet = javax.security.auth.Subject$ClassSet of javax.security.auth.Subject
private SecureSet = javax.security.auth.Subject$SecureSet of javax.security.auth.Subject