You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by James Cook <ji...@iname.com> on 2000/08/28 16:10:55 UTC

Implementation of JDBCRealm

The following comment applies to the JDBCRealm class included in the Catalina
source. Not sure if this applies to Tomcat.

It seems that JDBCRealm re-implements many of the same methods as its superclass
(RealmBase). This doesn't seem like a good idea and could be indicative of:

1. RealmBase may have implemented these methods *after* JDBCRealm was written?
2. RealmBase needs access to some variables (lifecycle, propertychangesupport,
etc.) that were marked private in superclass. This doesn't appear to be the case
as all variables in RealmBase are wisely declared protected, but they may have
been private when JDBCRealm was written.

jim