Package org.apache.catalina.users
Class AbstractGroup
java.lang.Object
org.apache.catalina.users.AbstractGroup
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.catalina.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()
-
-
Method Details
-
getDescription
- 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
- 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
-