| 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) |
boolean |
checkRole(String role) |
Map<String,String> |
getDetails() |
Set<Group> |
getGroups() |
Set<String> |
getIps() |
String |
getName() |
String |
getPassword() |
String |
getUsername() |
boolean |
isAuthenticatedByIp() |
void |
setAuthenticatedByIp(boolean authenticatedByIp) |
void |
setDetails(Map<String,String> details) |
void |
setGroups(Set<Group> groups) |
void |
setIps(Set<String> ips) |
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)
public boolean checkRole(String role)
public boolean isAuthenticatedByIp()
public void setAuthenticatedByIp(boolean authenticatedByIp)
Copyright © 2018. All rights reserved.