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

ChristopherSchultz 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 6212c21a6a Add deprecation warning
6212c21a6a is described below

commit 6212c21a6a78049639c8c73d6008ee997a8b9f13
Author: Christopher Schultz <[email protected]>
AuthorDate: Tue Oct 13 18:40:18 2026 +0100

    Add deprecation warning
---
 java/org/apache/catalina/realm/JAASMemoryLoginModule.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/java/org/apache/catalina/realm/JAASMemoryLoginModule.java 
b/java/org/apache/catalina/realm/JAASMemoryLoginModule.java
index 2a805cff3d..09ae7a692a 100644
--- a/java/org/apache/catalina/realm/JAASMemoryLoginModule.java
+++ b/java/org/apache/catalina/realm/JAASMemoryLoginModule.java
@@ -67,7 +67,10 @@ import org.apache.tomcat.util.digester.Digester;
  * <code>Realm</code> directly, so that user lookup and credential validation 
are performed against the XML file
  * configured for the memory realm.
  * </p>
+ *
+ * @deprecated This class will be removed in Tomcat 12.
  */
+@Deprecated
 public class JAASMemoryLoginModule extends MemoryRealm implements LoginModule {
     // We need to extend MemoryRealm to avoid class cast
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to