com.atlassian.crowd.model.user
Class LDAPUserWithAttributes
java.lang.Object
com.atlassian.crowd.model.user.LDAPUserWithAttributes
- All Implemented Interfaces:
- Attributes, User, UserWithAttributes, DirectoryEntity, LDAPDirectoryEntity, java.io.Serializable, java.lang.Comparable<User>, java.security.Principal
public class LDAPUserWithAttributes
- extends java.lang.Object
- implements UserWithAttributes, LDAPDirectoryEntity
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LDAPUserWithAttributes
public LDAPUserWithAttributes(java.lang.String dn,
UserTemplateWithAttributes user)
getDn
public java.lang.String getDn()
- Description copied from interface:
LDAPDirectoryEntity
- Gets the standardised distinguished name for the LDAP entity.
- Specified by:
getDn in interface LDAPDirectoryEntity
- Returns:
- distinguished name.
getDirectoryId
public long getDirectoryId()
- Specified by:
getDirectoryId in interface User- Specified by:
getDirectoryId in interface DirectoryEntity
getName
public java.lang.String getName()
- Specified by:
getName in interface DirectoryEntity- Specified by:
getName in interface java.security.Principal
isActive
public boolean isActive()
- Specified by:
isActive in interface User
getEmailAddress
public java.lang.String getEmailAddress()
- Specified by:
getEmailAddress in interface User
getFirstName
public java.lang.String getFirstName()
getLastName
public java.lang.String getLastName()
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface User
getValues
public java.util.Set<java.lang.String> getValues(java.lang.String name)
- Specified by:
getValues in interface Attributes
getValue
public java.lang.String getValue(java.lang.String name)
- Specified by:
getValue in interface Attributes
getKeys
public java.util.Set<java.lang.String> getKeys()
- Specified by:
getKeys in interface Attributes
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Attributes
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in interface User- Specified by:
equals in interface DirectoryEntity- Specified by:
equals in interface java.security.Principal- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface User- Specified by:
hashCode in interface DirectoryEntity- Specified by:
hashCode in interface java.security.Principal- Overrides:
hashCode in class java.lang.Object
compareTo
public int compareTo(User other)
- Specified by:
compareTo in interface User- Specified by:
compareTo in interface java.lang.Comparable<User>
toString
public java.lang.String toString()
- Specified by:
toString in interface java.security.Principal- Overrides:
toString in class java.lang.Object
Copyright © 2012 Atlassian. All Rights Reserved.