Class SparseUserDatabase
java.lang.Object
org.apache.catalina.users.SparseUserDatabase
- All Implemented Interfaces:
UserDatabase
- Direct Known Subclasses:
DataSourceUserDatabase
Abstract base class for a sparse user database implementation.
A sparse database creates MBeans for users, groups, and roles on demand
rather than registering all of them at startup.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSparse()Indicates that this is a sparse user database.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UserDatabase
backgroundProcess, close, createGroup, createRole, createUser, findGroup, findRole, findUser, getGroups, getId, getRoles, getUsers, isAvailable, modifiedGroup, modifiedRole, modifiedUser, open, removeGroup, removeRole, removeUser, save
-
Constructor Details
-
SparseUserDatabase
public SparseUserDatabase()Default constructor required for subclasses.
-
-
Method Details
-
isSparse
public boolean isSparse()Indicates that this is a sparse user database.- Specified by:
isSparsein interfaceUserDatabase- Returns:
- always
true
-