public class UserRepresentation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserRepresentation.Credential |
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
attributes |
protected List<UserRepresentation.Credential> |
credentials |
protected boolean |
enabled |
protected String |
self |
protected String |
username |
Constructor and Description |
---|
UserRepresentation() |
Modifier and Type | Method and Description |
---|---|
UserRepresentation |
attribute(String name,
String value) |
UserRepresentation |
credential(String type,
String value,
boolean hashed) |
Map<String,String> |
getAttributes() |
List<UserRepresentation.Credential> |
getCredentials() |
String |
getSelf() |
String |
getUsername() |
boolean |
isEnabled() |
void |
setAttributes(Map<String,String> attributes) |
void |
setCredentials(List<UserRepresentation.Credential> credentials) |
void |
setEnabled(boolean enabled) |
void |
setSelf(String self) |
void |
setUsername(String username) |
protected String self
protected String username
protected boolean enabled
protected List<UserRepresentation.Credential> credentials
public String getSelf()
public void setSelf(String self)
public String getUsername()
public void setUsername(String username)
public List<UserRepresentation.Credential> getCredentials()
public void setCredentials(List<UserRepresentation.Credential> credentials)
public UserRepresentation attribute(String name, String value)
public UserRepresentation credential(String type, String value, boolean hashed)
public boolean isEnabled()
public void setEnabled(boolean enabled)
Copyright © 2014. All Rights Reserved.