Methods Summary |
---|
public abstract void | addRole(org.apache.catalina.Role role)Add a new {@link Role} to those assigned specifically to this group.
|
public java.lang.String | getDescription()Return the description of this group.
// ------------------------------------------------------------- Properties
return (this.description);
|
public java.lang.String | getGroupname()Return the group name of this group, which must be unique
within the scope of a {@link UserDatabase}.
return (this.groupname);
|
public java.lang.String | getName()Make the principal name the same as the group name.
return (getGroupname());
|
public abstract java.util.Iterator | getRoles()Return the set of {@link Role}s assigned specifically to this group.
|
public abstract org.apache.catalina.UserDatabase | getUserDatabase()Return the {@link UserDatabase} within which this Group is defined.
|
public abstract java.util.Iterator | getUsers()Return an Iterator over the set of {@link org.apache.catalina.User}s that
are members of this group.
|
public abstract boolean | isInRole(org.apache.catalina.Role role)Is this group specifically assigned the specified {@link Role}?
|
public abstract void | removeRole(org.apache.catalina.Role role)Remove a {@link Role} from those assigned to this group.
|
public abstract void | removeRoles()Remove all {@link Role}s from those assigned to this group.
|
public void | setDescription(java.lang.String description)Set the description of this group.
this.description = description;
|
public void | setGroupname(java.lang.String groupname)Set the group name of this group, which must be unique
within the scope of a {@link UserDatabase}.
this.groupname = groupname;
|