public class UserAccount extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UserAccount.PasswordHash
Enum of avalable password-hash algorithms.
|
Constructor and Description |
---|
UserAccount() |
UserAccount(String login,
String webId) |
Modifier and Type | Method and Description |
---|---|
void |
addRole(String role) |
boolean |
checkPasswd(String password) |
boolean |
equals(Object o) |
String |
getLogin() |
String |
getPasswdHash() |
Set<String> |
getRoles() |
String |
getWebId() |
int |
hashCode() |
void |
setLogin(String login) |
void |
setPasswd(UserAccount.PasswordHash alg,
String passwd) |
void |
setPasswdHash(String passwdHash) |
void |
setRoles(Set<String> roles) |
void |
setWebId(String webId) |
public String getLogin()
public void setLogin(String login)
public String getPasswdHash()
public void setPasswdHash(String passwdHash)
public boolean checkPasswd(String password)
public void setPasswd(UserAccount.PasswordHash alg, String passwd)
public String getWebId()
public void setWebId(String webId)
public void addRole(String role)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.