Class AbstractGroup
java.lang.Object
org.apache.catalina.users.AbstractGroup
- Direct Known Subclasses:
GenericGroup
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of this group.Returns the group name of this group, which must be unique within the scope of aUserDatabase.getName()Make the principal name the same as the group name.voidsetDescription(String description) Set the description of this group.voidsetGroupname(String groupname) Set the group name of this group, which must be unique within the scope of aUserDatabase.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Group
addRole, getRoles, getUserDatabase, getUsers, isInRole, removeRole, removeRoles
-
Field Details
-
description
The description of this group. -
groupname
The group name of this group.
-
-
Constructor Details
-
AbstractGroup
public AbstractGroup()Constructs an AbstractGroup with default settings.
-
-
Method Details
-
getDescription
Description copied from interface:GroupReturns the description of this group.- Specified by:
getDescriptionin interfaceGroup- Returns:
- the description of this group.
-
setDescription
Description copied from interface:GroupSet the description of this group.- Specified by:
setDescriptionin interfaceGroup- Parameters:
description- The new description
-
getGroupname
Description copied from interface:GroupReturns the group name of this group, which must be unique within the scope of aUserDatabase.- Specified by:
getGroupnamein interfaceGroup- Returns:
- the group name of this group, which must be unique within the scope of a
UserDatabase.
-
setGroupname
Description copied from interface:GroupSet the group name of this group, which must be unique within the scope of aUserDatabase.- Specified by:
setGroupnamein interfaceGroup- Parameters:
groupname- The new group name
-
getName
-