public class LDAPUserWithAttributes extends Object implements UserWithAttributes, LDAPDirectoryEntity
| Constructor and Description |
|---|
LDAPUserWithAttributes(String dn,
UserTemplateWithAttributes user) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(User other) |
boolean |
equals(Object o) |
long |
getDirectoryId() |
String |
getDisplayName() |
String |
getDn()
Gets the standardised distinguished name for the LDAP entity.
|
String |
getEmailAddress() |
String |
getExternalId() |
String |
getFirstName() |
Set<String> |
getKeys() |
String |
getLastName() |
String |
getName() |
String |
getValue(String name) |
Set<String> |
getValues(String name) |
int |
hashCode() |
boolean |
isActive() |
boolean |
isEmpty() |
String |
toString() |
public LDAPUserWithAttributes(String dn, UserTemplateWithAttributes user)
public String getDn()
LDAPDirectoryEntitygetDn in interface LDAPDirectoryEntitypublic long getDirectoryId()
getDirectoryId in interface UsergetDirectoryId in interface DirectoryEntitypublic String getName()
getName in interface DirectoryEntitygetName in interface Principalpublic String getEmailAddress()
getEmailAddress in interface Userpublic String getFirstName()
public String getLastName()
public String getDisplayName()
getDisplayName in interface Userpublic Set<String> getValues(String name)
getValues in interface Attributespublic String getValue(String name)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributespublic String getExternalId()
public boolean equals(Object o)
public int hashCode()
public int compareTo(User other)
compareTo in interface UsercompareTo in interface Comparable<User>Copyright © 2018 Atlassian. All rights reserved.