[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pki-devel] [PATCH] 615 Fixed ProxyRealm for Tomcat 8.



The Realm interface has changed in recent Tomcat 8 version. The
ProxyRealm class that implements it has been updated accordingly.

--
Endi S. Dewata
From 34f6c9cdd7b7d9c77db3a47dc43fd01a07eeb9be Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Fri, 19 Jun 2015 18:12:11 -0400
Subject: [PATCH] Fixed ProxyRealm for Tomcat 8.

The Realm interface has changed in recent Tomcat 8 version. The
ProxyRealm class that implements it has been updated accordingly.
---
 base/server/tomcat8/src/com/netscape/cms/tomcat/ProxyRealm.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/base/server/tomcat8/src/com/netscape/cms/tomcat/ProxyRealm.java b/base/server/tomcat8/src/com/netscape/cms/tomcat/ProxyRealm.java
index 044563233e11b0cb11f094fd5f4600a38cd229d7..bcedd52dc152f44106d860f6b2a7e3b5f04b65c3 100644
--- a/base/server/tomcat8/src/com/netscape/cms/tomcat/ProxyRealm.java
+++ b/base/server/tomcat8/src/com/netscape/cms/tomcat/ProxyRealm.java
@@ -61,6 +61,11 @@ public class ProxyRealm implements Realm {
     }
 
     @Override
+    public Principal authenticate(String username) {
+        return realm.authenticate(username);
+    }
+
+    @Override
     public Principal authenticate(String username, String password) {
         return realm.authenticate(username, password);
     }
-- 
1.9.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]