public class User extends Object
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getGroups()
Returns a collection of groups the user belongs to.
|
String |
getPassword()
Returns the password for the user.
|
String |
getRealm()
Returns the realm the user belongs to.
|
String |
getUsername()
Returns the username for the user.
|
int |
hashCode() |
boolean |
isApplicationUser()
Indicates whether or not this is an application user.
|
void |
set(String value)
Allows a user to be set by a string value.
|
String |
toString() |
public String getUsername()
public String getPassword()
public List<String> getGroups()
public String getRealm()
public boolean isApplicationUser()
true if this is an application user, otherwise falsepublic void set(String value)
user:password:groups:realm:true|false.
Both username and password are required. Groups can be a comma delimited set of groups.
value - the string user valueCopyright © 2016 JBoss by Red Hat. All rights reserved.