@Entity public class User extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DETAIL_EMAIL |
static int |
MIN_PASSWORD_LENGTH |
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
void |
changePassword(String password) |
Map<String,String> |
getDetails() |
Set<Group> |
getGroups() |
String |
getPassword() |
String |
getUsername() |
void |
setDetails(Map<String,String> details) |
void |
setGroups(Set<Group> groups) |
void |
setPassword(String password) |
void |
setUsername(String username) |
public static final String DETAIL_EMAIL
public static final int MIN_PASSWORD_LENGTH
public void changePassword(String password) throws NoSuchAlgorithmException, UnsupportedEncodingException
public String getPassword()
public void setPassword(String password)
public String getUsername()
public void setUsername(String username)
Copyright © 2016. All rights reserved.