Methods Summary |
---|
public abstract void | addGroup(org.apache.catalina.Group group)Add a new {@link Group} to those this user belongs to.
|
public abstract void | addRole(org.apache.catalina.Role role)Add a new {@link Role} to those assigned specifically to this user.
|
public java.lang.String | getFullName()Return the full name of this user.
// ------------------------------------------------------------- Properties
return (this.fullName);
|
public abstract java.util.Iterator | getGroups()Return the set of {@link Group}s to which this user belongs.
|
public java.lang.String | getName()Make the principal name the same as the group name.
return (getUsername());
|
public java.lang.String | getPassword()Return the logon password of this user, optionally prefixed with the
identifier of an encoding scheme surrounded by curly braces, such as
{md5}xxxxx .
return (this.password);
|
public abstract java.util.Iterator | getRoles()Return the set of {@link Role}s assigned specifically to this user.
|
public java.lang.String | getUsername()Return the logon username of this user, which must be unique
within the scope of a {@link org.apache.catalina.UserDatabase}.
return (this.username);
|
public abstract boolean | isInGroup(org.apache.catalina.Group group)Is this user in the specified {@link Group}?
|
public abstract boolean | isInRole(org.apache.catalina.Role role)Is this user specifically assigned the specified {@link Role}? This
method does NOT check for roles inherited based on
{@link Group} membership.
|
public abstract void | removeGroup(org.apache.catalina.Group group)Remove a {@link Group} from those this user belongs to.
|
public abstract void | removeGroups()Remove all {@link Group}s from those this user belongs to.
|
public abstract void | removeRole(org.apache.catalina.Role role)Remove a {@link Role} from those assigned to this user.
|
public abstract void | removeRoles()Remove all {@link Role}s from those assigned to this user.
|
public void | setFullName(java.lang.String fullName)Set the full name of this user.
this.fullName = fullName;
|
public void | setPassword(java.lang.String password)Set the logon password of this user, optionally prefixed with the
identifier of an encoding scheme surrounded by curly braces, such as
{md5}xxxxx .
this.password = password;
|
public void | setUsername(java.lang.String username)Set the logon username of this user, which must be unique within
the scope of a {@link org.apache.catalina.UserDatabase}.
this.username = username;
|