This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 33687d5345 Deprecate method so it can be made private in Tomcat 12
33687d5345 is described below
commit 33687d5345355bae24f8bf16421d1a5dbe72651f
Author: Mark Thomas <[email protected]>
AuthorDate: Wed May 27 08:46:47 2026 +0100
Deprecate method so it can be made private in Tomcat 12
---
java/org/apache/catalina/users/DataSourceUserDatabase.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/java/org/apache/catalina/users/DataSourceUserDatabase.java
b/java/org/apache/catalina/users/DataSourceUserDatabase.java
index 195a2679f7..dcd48bb487 100644
--- a/java/org/apache/catalina/users/DataSourceUserDatabase.java
+++ b/java/org/apache/catalina/users/DataSourceUserDatabase.java
@@ -918,7 +918,10 @@ public class DataSourceUserDatabase extends
SparseUserDatabase {
* @param dbConnection The database connection to use
* @param userName The name of the user to find
* @return the user, or null if not found
+ *
+ * @deprecated Will be made private in Tomcat 12
*/
+ @Deprecated
public User findUserInternal(Connection dbConnection, String userName) {
String dbCredentials = null;
String fullName = null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]