This is an automated email from the ASF dual-hosted git repository.
ChristopherSchultz 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 b77ce571cf Add deprecation warning
b77ce571cf is described below
commit b77ce571cfc7edc9ad013ba64bcd8c74b7000f30
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 57ece9f304..d725c5bc3e 100644
--- a/java/org/apache/catalina/realm/JAASMemoryLoginModule.java
+++ b/java/org/apache/catalina/realm/JAASMemoryLoginModule.java
@@ -66,7 +66,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]