geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r354962 - /geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/connector/HTTPSConnector.java
Date Thu, 08 Dec 2005 03:47:37 GMT
Author: djencks
Date: Wed Dec  7 19:47:32 2005
New Revision: 354962

URL: http://svn.apache.org/viewcvs?rev=354962&view=rev
Log:
add requestedClientCertificate attribute

Modified:
    geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/connector/HTTPSConnector.java

Modified: geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/connector/HTTPSConnector.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/connector/HTTPSConnector.java?rev=354962&r1=354961&r2=354962&view=diff
==============================================================================
--- geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/connector/HTTPSConnector.java
(original)
+++ geronimo/trunk/modules/jetty/src/java/org/apache/geronimo/jetty/connector/HTTPSConnector.java
Wed Dec  7 19:47:32 2005
@@ -115,6 +115,14 @@
         return https.getNeedClientAuth();
     }
 
+    public void setClientAuthRequested(boolean wantClientAuth) {
+        https.setWantClientAuth(wantClientAuth);
+    }
+
+    public boolean isClientAuthRequested() {
+        return https.getWantClientAuth();
+    }
+
     public void doStart() throws Exception {
         https.setKeystore(serverInfo.resolvePath(keystore));
         super.doStart();
@@ -131,6 +139,7 @@
         infoFactory.addAttribute("secureProtocol", String.class, true, true);
         infoFactory.addAttribute("keystoreType", String.class, true, true);
         infoFactory.addAttribute("clientAuthRequired", boolean.class, true, true);
+        infoFactory.addAttribute("clientAuthRequested", boolean.class, true, true);
         infoFactory.addReference("ServerInfo", ServerInfo.class, NameFactory.GERONIMO_SERVICE);
         infoFactory.addInterface(JettySecureConnector.class);
         infoFactory.setConstructor(new String[]{"JettyContainer", "ServerInfo"});



Mime
View raw message