Convenience base class for User implementations.
| Modifier and Type | Field and Description |
|---|---|
| protected String | fullName
The full name of this user. |
| protected String | password
The logon password of this user. |
| protected String | username
The logon username of this user. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | addGroup(Group
The new group group)Redeclares org. Add a new |
| public abstract void | addRole(Role
The new role role)Redeclares org. Add a new |
| public String | |
| public abstract Iterator | getGroups()
Redeclares org. Return the set of |
| public String | getName()
Implements java. Make the principal name the same as the group name. |
| public String | getPassword()
Implements org. Return the logon password of this user, optionally prefixed with the
identifier of an encoding scheme surrounded by curly braces, such as
|
| public abstract Iterator | getRoles()
Redeclares org. Return the set of |
| public String | getUsername()
Implements org. Return the logon username of this user, which must be unique
within the scope of a |
| public abstract boolean | isInGroup(Group
The group to check group)Redeclares org. Is this user in the specified |
| public abstract boolean | isInRole(Role
The role to check role)Redeclares org. Is this user specifically assigned the specified |
| public abstract void | removeGroup(Group
The old group group)Redeclares org. Remove a |
| public abstract void | removeGroups()
Redeclares org. Remove all |
| public abstract void | removeRole(Role
The old role role)Redeclares org. Remove a |
| public abstract void | removeRoles()
Redeclares org. Remove all |
| public void | setFullName(String
The new full name fullName)Implements org. Set the full name of this user. |
| public void | setPassword(String
The new logon password password)Implements org. 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)Implements org. Set the logon username of this user, which must be unique within
the scope of a |
| fullName | back to summary |
|---|---|
| protected String fullName The full name of this user. | |
| password | back to summary |
|---|---|
| protected String password The logon password of this user. | |
| username | back to summary |
|---|---|
| protected String username The logon username of this user. | |
| AbstractUser | back to summary |
|---|---|
| public AbstractUser() | |
| addGroup | back to summary |
|---|---|
| public abstract void addGroup(Group group) Redeclares org. Add a new | |
| addRole | back to summary |
|---|---|
| public abstract void addRole(Role role) Redeclares org. Add a new | |
| getFullName | back to summary |
|---|---|
| public String getFullName() Implements org. Return the full name of this user.
| |
| getGroups | back to summary |
|---|---|
| public abstract Iterator Redeclares org. Return the set of
| |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Make the principal name the same as the group name.
| |
| getPassword | back to summary |
|---|---|
| public String getPassword() Implements org. Return the logon password of this user, optionally prefixed with the
identifier of an encoding scheme surrounded by curly braces, such as
| |
| getRoles | back to summary |
|---|---|
| public abstract Iterator Redeclares org. Return the set of
| |
| getUsername | back to summary |
|---|---|
| public String getUsername() Implements org. Return the logon username of this user, which must be unique
within the scope of a
| |
| isInGroup | back to summary |
|---|---|
| public abstract boolean isInGroup(Group group) Redeclares org. Is this user in the specified
| |
| isInRole | back to summary |
|---|---|
| public abstract boolean isInRole(Role role) Redeclares org. Is this user specifically assigned the specified
| |
| removeGroup | back to summary |
|---|---|
| public abstract void removeGroup(Group group) Redeclares org. Remove a | |
| removeGroups | back to summary |
|---|---|
| public abstract void removeGroups() Redeclares org. Remove all
| |
| removeRole | back to summary |
|---|---|
| public abstract void removeRole(Role role) Redeclares org. Remove a | |
| removeRoles | back to summary |
|---|---|
| public abstract void removeRoles() Redeclares org. Remove all
| |
| setFullName | back to summary |
|---|---|
| public void setFullName(String fullName) Implements org. Set the full name of this user. | |
| setPassword | back to summary |
|---|---|
| public void setPassword(String password) Implements org. 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) Implements org. Set the logon username of this user, which must be unique within
the scope of a | |