Top Description Fields Constructors Methods
org.apache.catalina.users

public Class MemoryGroup

extends GenericGroup<MemoryUserDatabase>
Class Inheritance
Annotations
@Deprecated
Imports
org.apache.catalina.UserDatabase, org.apache.tomcat.util.buf.StringUtils, org.apache.tomcat.util.security.Escape

Deprecated

Use GenericGroup instead.

Concrete implementation of org.apache.catalina.Group for the MemoryUserDatabase implementation of UserDatabase.

Author
Craig R. McClanahan
Since
4.1

Field Summary

Inherited from org.apache.catalina.users.GenericGroup:
databaseroles

Constructor Summary

AccessConstructor and Description
pack-priv
MemoryGroup(MemoryUserDatabase
The MemoryUserDatabase that owns this group
database
,
String
Group name of this group
groupname
,
String
Description of this group
description
)

Package-private constructor used by the factory method in MemoryUserDatabase.

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Implements java.security.Principal.toString.

Return a String representation of this group in XML format.

Inherited from org.apache.catalina.users.GenericGroup:
addRoleequalsgetRolesgetUserDatabasegetUsershashCodeisInRoleremoveRoleremoveRoles

Constructor Detail

MemoryGroupback to summary
pack-priv MemoryGroup(MemoryUserDatabase database, String groupname, String description)

Package-private constructor used by the factory method in MemoryUserDatabase.

Parameters
database:MemoryUserDatabase

The MemoryUserDatabase that owns this group

groupname:String

Group name of this group

description:String

Description of this group

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Implements java.security.Principal.toString.

Return a String representation of this group in XML format.

Returns:String

Doc from java.security.Principal.toString.

a string representation of this Principal.

Annotations
@Override