This is an automated email from the ASF dual-hosted git repository.
ChristopherSchultz 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 4f192f60fb Add deprecation warning
4f192f60fb is described below
commit 4f192f60fbb89f1038a97e4b8a5c73d5f2d34d23
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]