This is an automated email from the ASF dual-hosted git repository.
remm pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git.
from 475e001 Update Commons Codec to 1.16-SNAPSHOT (2021-01-09)
new 861b465 Improve the reusability of UserDatabase code
new 75cdff2 Fix Javadoc warning
new 1e50c19 Add available flag for UserDatabase
new 346114b Add a UserDatabase implementation based on DataSourceRealm
new bbab0a6 Fix compile
new 9eff810 Add lock use similar to the memory user database
new 47b97e0 Add UserDatabase documentation
new 2996ab0 Refactor to avoid NPE warnings in IDE
new ce75358 Fix IDE warnings. Use <> where possible.
new 5335d25 Add hashCode implementations that are aligned with existing
equals()
new 73b125b Add Derby for the testsuite
new a25cb20 Fix group roles not working
new 7375b36 Add first pass at tests for the DataSource UserDatabase
new e1d0a7d Use Derby 10.14 for Java 8 compatibility
new e3cf4ac Checkstyle
new a63ed57 Fix bad merge
The 16 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]