public abstract class AbstractUser extends Object implements User
Constructor and Description |
---|
AbstractUser() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPassword()
Returns this user's password.
|
String |
getUsername()
Returns the name of this user, which must be unique across all users.
|
int |
hashCode() |
void |
setPassword(String password)
Sets this user's password.
|
void |
setUsername(String username)
Sets the name of this user, which must be unique across all users.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addPermission, getPermissions, hasPermission, removePermission
public String getUsername()
User
getUsername
in interface User
public void setUsername(String username)
User
setUsername
in interface User
username
- The name of this user.public String getPassword()
User
getPassword
in interface User
public void setPassword(String password)
User
setPassword
in interface User
password
- The password to set.Copyright © 2013. All Rights Reserved.