MCPcopy Index your code
hub / github.com/apache/tomcat / SparseUserDatabase

Class SparseUserDatabase

java/org/apache/catalina/users/SparseUserDatabase.java:26–45  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

24 * rather than registering all of them at startup.
25 */
26public abstract class SparseUserDatabase implements UserDatabase {
27
28 /**
29 * Default constructor required for subclasses.
30 */
31 public SparseUserDatabase() {
32 }
33
34 /**
35 * Indicates that this is a sparse user database.
36 *
37 * @return always {@code true}
38 */
39 @Override
40 public boolean isSparse() {
41 return true;
42 }
43
44
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected