This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 0d975b4955 Deprecate method so it can be made private in Tomcat 12
0d975b4955 is described below

commit 0d975b495594fdc8d056c89cf551510c2139cc6a
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]

Reply via email to