public final class com.sun.security.auth.LdapPrincipal implements java.security.Principal, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.security.auth.LdapPrincipal
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6820120005580754861
private final java.lang.String nameString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.naming.ldap.LdapName name;
descriptor: Ljavax/naming/ldap/LdapName;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "null name is illegal"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.security.auth.LdapPrincipal java.lang.String
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual com.sun.security.auth.LdapPrincipal.getLdapName:(Ljava/lang/String;)Ljavax/naming/ldap/LdapName;
putfield com.sun.security.auth.LdapPrincipal.name:Ljavax/naming/ldap/LdapName;
4: aload 0
aload 1
putfield com.sun.security.auth.LdapPrincipal.nameString:Ljava/lang/String;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/security/auth/LdapPrincipal;
0 6 1 name Ljava/lang/String;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
name
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.security.auth.LdapPrincipal
ifeq 7
3: aload 0
getfield com.sun.security.auth.LdapPrincipal.name:Ljavax/naming/ldap/LdapName;
aload 0
aload 1
checkcast com.sun.security.auth.LdapPrincipal
invokevirtual com.sun.security.auth.LdapPrincipal.getName:()Ljava/lang/String;
invokevirtual com.sun.security.auth.LdapPrincipal.getLdapName:(Ljava/lang/String;)Ljavax/naming/ldap/LdapName;
invokevirtual javax.naming.ldap.LdapName.equals:(Ljava/lang/Object;)Z
4: ireturn
5: StackMap locals:
StackMap stack: javax.naming.InvalidNameException
pop
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/security/auth/LdapPrincipal;
0 8 1 object Ljava/lang/Object;
Exception table:
from to target type
3 4 5 Class javax.naming.InvalidNameException
MethodParameters:
Name Flags
object
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.security.auth.LdapPrincipal.name:Ljavax/naming/ldap/LdapName;
invokevirtual javax.naming.ldap.LdapName.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/auth/LdapPrincipal;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.security.auth.LdapPrincipal.nameString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/auth/LdapPrincipal;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.security.auth.LdapPrincipal.name:Ljavax/naming/ldap/LdapName;
invokevirtual javax.naming.ldap.LdapName.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/auth/LdapPrincipal;
private javax.naming.ldap.LdapName getLdapName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/naming/ldap/LdapName;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new javax.naming.ldap.LdapName
dup
aload 1
invokespecial javax.naming.ldap.LdapName.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/auth/LdapPrincipal;
0 1 1 name Ljava/lang/String;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
name
}
SourceFile: "LdapPrincipal.java"