com.atlassian.user.impl
Class DefaultUser
java.lang.Object
com.atlassian.user.impl.DefaultEntity
com.atlassian.user.impl.DefaultUser
- All Implemented Interfaces:
- Entity, java.security.Principal, java.io.Serializable, User
- Direct Known Subclasses:
- DefaultHibernateUser, DefaultLDAPUser
- public class DefaultUser
- extends DefaultEntity
- implements User
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
email
|
protected java.lang.String |
fullName
|
protected java.lang.String |
password
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.atlassian.user.Entity |
getName |
Methods inherited from interface java.security.Principal |
getName |
fullName
protected java.lang.String fullName
email
protected java.lang.String email
password
protected java.lang.String password
DefaultUser
public DefaultUser()
DefaultUser
public DefaultUser(java.lang.String name)
getFullName
public java.lang.String getFullName()
- Specified by:
getFullName
in interface User
- Returns:
- String hold the name used for authentication, as opposed to the
Entity.getName()
, which represents a uid.
getEmail
public java.lang.String getEmail()
- Specified by:
getEmail
in interface User
getPassword
public java.lang.String getPassword()
setFullName
public void setFullName(java.lang.String fullName)
- Specified by:
setFullName
in interface User
setEmail
public void setEmail(java.lang.String email)
- Specified by:
setEmail
in interface User
setPassword
public void setPassword(java.lang.String passw)
- Specified by:
setPassword
in interface User
toString
public java.lang.String toString()
- Specified by:
toString
in interface java.security.Principal
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface java.security.Principal
- Overrides:
equals
in class DefaultEntity
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.security.Principal
- Overrides:
hashCode
in class DefaultEntity
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.