This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 865a3e7e25 Deprecate method so it can be made private in Tomcat 12
865a3e7e25 is described below
commit 865a3e7e254de4386c4d01573f805e50e022808e
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]