This is an automated email from the ASF dual-hosted git repository.
remm pushed a change to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git.
from a700957 Fix JSP API Javadoc warnings for Java 16
new 6d95a7f Improve the reusability of UserDatabase code
new 4ccb9be Fix Javadoc warning
new 75ef058 Add available flag for UserDatabase
new 52f0a2f Add a UserDatabase implementation based on DataSourceRealm
new 43c3791 Add lock use similar to the memory user database
new 4457530 Add UserDatabase documentation
new 785e076 Refactor to avoid NPE warnings in IDE
new bb21272 Fix IDE warnings. Use <> where possible.
new a20f224 Add hashCode implementations that are aligned with existing
equals()
new 86177f0 Add Derby for the testsuite
new 6d2b63f Fix group roles not working
new e9945ac Add first pass at tests for the DataSource UserDatabase
new d7b6adb Use Derby 10.14 for Java 8 compatibility
The 13 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
build.properties.default | 19 +
build.xml | 20 +
java/org/apache/catalina/UserDatabase.java | 49 +
.../mbeans/DataSourceUserDatabaseMBean.java | 360 +++++
.../mbeans/GlobalResourcesLifecycleListener.java | 5 +
.../apache/catalina/mbeans/LocalStrings.properties | 1 +
java/org/apache/catalina/mbeans/MBeanUtils.java | 30 +
.../catalina/mbeans/MemoryUserDatabaseMBean.java | 277 +---
...baseMBean.java => SparseUserDatabaseMBean.java} | 77 +-
.../apache/catalina/realm/UserDatabaseRealm.java | 69 +-
.../catalina/users/DataSourceUserDatabase.java | 1507 ++++++++++++++++++++
...ory.java => DataSourceUserDatabaseFactory.java} | 86 +-
.../users/{MemoryGroup.java => GenericGroup.java} | 74 +-
.../users/{MemoryRole.java => GenericRole.java} | 62 +-
.../users/{MemoryUser.java => GenericUser.java} | 144 +-
.../apache/catalina/users/LocalStrings.properties | 2 +
java/org/apache/catalina/users/MemoryGroup.java | 116 +-
java/org/apache/catalina/users/MemoryRole.java | 36 +-
java/org/apache/catalina/users/MemoryUser.java | 158 +-
.../apache/catalina/users/SparseUserDatabase.java | 13 +-
.../apache/catalina/users/mbeans-descriptors.xml | 346 +++++
.../users/DataSourceUserDatabaseTests.java | 228 +++
webapps/docs/changelog.xml | 19 +
webapps/docs/config/realm.xml | 8 +
webapps/docs/jndi-resources-howto.xml | 204 ++-
25 files changed, 3169 insertions(+), 741 deletions(-)
create mode 100644
java/org/apache/catalina/mbeans/DataSourceUserDatabaseMBean.java
copy java/org/apache/catalina/mbeans/{MemoryUserDatabaseMBean.java =>
SparseUserDatabaseMBean.java} (79%)
create mode 100644 java/org/apache/catalina/users/DataSourceUserDatabase.java
copy java/org/apache/catalina/users/{MemoryUserDatabaseFactory.java =>
DataSourceUserDatabaseFactory.java} (57%)
copy java/org/apache/catalina/users/{MemoryGroup.java => GenericGroup.java}
(69%)
copy java/org/apache/catalina/users/{MemoryRole.java => GenericRole.java} (57%)
copy java/org/apache/catalina/users/{MemoryUser.java => GenericUser.java} (62%)
copy test/org/apache/catalina/loader/TesterNeverWeavedClass.java =>
java/org/apache/catalina/users/SparseUserDatabase.java (79%)
create mode 100644
test/org/apache/catalina/users/DataSourceUserDatabaseTests.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]