UserDatabase. Each user is
optionally associated with a set of Groups through which they inherit
additional security roles, and is optionally assigned a set of specific
Roles.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public String | |
| public Iterator | |
| public String | Returns: the logon password of this user, optionally prefixed with the identifier of an encoding scheme surrounded by curly braces, such as{md5}xxxxx.
|
| public Iterator | |
| public UserDatabase | |
| public String | Returns: the logon username of this user, which must be unique within the scope of aUserDatabase.
|
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setPassword(String
The new logon password password)Set the logon password of this user, optionally prefixed with the
identifier of an encoding scheme surrounded by curly braces, such as
|
| public void | setUsername(String
The new logon username username)Set the logon username of this user, which must be unique within
the scope of a |
| addGroup | back to summary |
|---|---|
| public void addGroup(Group group) Add a new
| |
| addRole | back to summary |
|---|---|
| public void addRole(Role role) Add a
| |
| getFullName | back to summary |
|---|---|
public String getFullName()
| |
| getGroups | back to summary |
|---|---|
| public Iterator | |
| getPassword | back to summary |
|---|---|
public String getPassword()
| |
| getRoles | back to summary |
|---|---|
| public Iterator | |
| getUserDatabase | back to summary |
|---|---|
public UserDatabase getUserDatabase()
| |
| getUsername | back to summary |
|---|---|
public String getUsername()
| |
| isInGroup | back to summary |
|---|---|
| public boolean isInGroup(Group group) Is this user in the specified
| |
| isInRole | back to summary |
|---|---|
| public boolean isInRole(Role role) Is this user specifically assigned the specified
| |
| removeGroup | back to summary |
|---|---|
| public void removeGroup(Group group) Remove a
| |
| removeGroups | back to summary |
|---|---|
| public void removeGroups() Remove all | |
| removeRole | back to summary |
|---|---|
| public void removeRole(Role role) Remove a
| |
| removeRoles | back to summary |
|---|---|
| public void removeRoles() Remove all | |
| setFullName | back to summary |
|---|---|
| public void setFullName(String fullName) Set the full name of this user.
| |
| setPassword | back to summary |
|---|---|
| public void setPassword(String password) Set the logon password of this user, optionally prefixed with the
identifier of an encoding scheme surrounded by curly braces, such as
| |
| setUsername | back to summary |
|---|---|
| public void setUsername(String username) Set the logon username of this user, which must be unique within
the scope of a
| |