public class APIUser extends Object
Constructor and Description |
---|
APIUser()
Construct a new empty APIUser.
|
APIUser(User user)
Construct a new APIUser from the provided User.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
Returns a map of all attributes associated with this user.
|
String |
getPassword()
Returns the password for this user.
|
String |
getUsername()
Returns the username for this user.
|
void |
setAttributes(Map<String,String> attributes)
Sets the map of all attributes associated with this user.
|
void |
setPassword(String password)
Set the password for this user.
|
void |
setUsername(String username)
Set the username for this user.
|
public APIUser()
public APIUser(User user)
user
- The User to construct the APIUser from.public String getUsername()
public void setUsername(String username)
username
- The username for this user.public String getPassword()
public void setPassword(String password)
password
- The password for this user.public Map<String,String> getAttributes()
Copyright © 2016. All rights reserved.